Add tests and cleaned index.js

A few notes:

Cleaned index.js to make it more 'javascript'
Reduced dependencies

Added mocha tests (run `npm test` to test)
Added .npmignore
Added examples/

The gulpfile.ls is not quite needed, and may be best not to put into a npm module as most users may not be running  gulp 'compile' , etc.