new code base
return constructor

Return a constructor to enable multiple database connections.
Also added setAuth, which allows changing auth on the fly.
remove some comments
rename rest obj to restCmd
added package.json
update pasckage.json
added grunt
added browser code
inject node post call
common code base
build
build from common base

Main file runs in browser unaltered. When called via Node, includes
node-compat.js, via index.js, to replace the prototype for the POST and
assign it to REST.prototype.then
Merge branch '0.1.1'