create npm package

added testing (mocha,chai,chai-as-promised)
test.js
changed vow.js to register for AMD, CommonJS, and Browser