Use grunt to run jshint and check for copyright headers (fix #17)

This should address most of @pdehaan's suggestions in #17.