Make API version configurable; add prepublish compilation

 - Take an option in the constructor to allow setting rootPath, and
   consequently allow flexibility on API versions.
 - Add a prepublish hook to compile coffee-script so the coffee/js
   are never out of sync.
Merge pull request #4 from yourcelf/master

Make API version configurable; add prepublish compilation