Hooked up jshint & editorconfig

Hooked up jshint and added editorconfig support.

Feel free to make any suggestions :)