Add grunt tasks

I've configured some grunt tasks to lint, compile, test and build the
project.