Merge pull request #4 from Kambfhase/master

Small rewrite - Full NPT support!
full jslint and jshint valid code
on hash change added
Merge pull request #6 from SimonWaldherr/onhashchange

on hash change added
Change preference order to Hash over Search

location.hash is subject to change in browser window and should
override search params.
readme updates