fallback to hash version for file: protocol

- HTML5 history is not supported on file:// urls
- allows Transit to be used in Cordova/PhoneGap apps
Merge pull request #4 from elidupuis/master

fallback to hash version for file:// protocol