Fixed travis build error.

There were some dev dependencies updates that broke npm install process. In effect travis build was failing. I fixed all that issues.
I also updated most of dev dependencies and added grunt task which will simplify that in the future.

Karma is not updated to 0.12.x because it doesn't work with Travis command line:
```
 mocha-flight@0.3.0 test /home/travis/build/gziolo/mocha-flight
> karma start --browsers Firefox --single-run
sh: 1: karma: not found
```

I also removed support for node 0.8.x as latest dev dependencies doesn't work in this env.