added qunit for unit tests
added lib folder for dependencies
fixed resetHash not being parsed as a boolean
added unit tests.js
upped version to 1.0.1 for fixes
Merge pull request #4 from danielfoord/dev

bug fixes