Refactor and add jshint checker

* Added jshint with directives from Gaia, to be consistent.
* Ignoring l10n.js and tests.js
* Refactor, so it is compatible with AMD modules.
* Bump to 0.1.0