The action of trespass is abolished. In all cases in which an action of trespass could have been maintained an action of trespass on the case shall lie.