Make pathStripper overridable

This makes it easier for modules like backbone-queryparams to support Backbone 1.x