Adds JSHint config and enables Travis.
Initial version on npm.