reorganized repo

* added tests
* added Grunt build script
* moved source to lib/ folder
* finished up documentation