Add coffeelint grunt task
Fix issues found by coffeelint

Also resolves #409
make runtests fail if lint fails