Add grunt tasks (jshint, watch and debug) and test code