Package i to use browser side (with RequireJS)

+ code cleaning using JSHint ;
+ initial seed for browser-side testing (ideally it would be great to migrate tests from vows to mocha to use them server and browser side)