Added mocha and jshintrc
Ignore vim swap files
Add test scripts