fallback to hash version for file: protocol

- HTML5 history is not supported on file:// urls
- allows Transit to be used in Cordova/PhoneGap apps