app, test and grunt tasks converted to coffeescript