Pre-commit hook that runs js-hint

Taken from https://coderwall.com/p/g1kqzg

On an `npm install`, hook is added to client's repo - think this is a seamless as we can make it, though does still involve an extra step