add jshintrc
clean up cacheIdFromPath and add tests
0.2.0