Project cleanup. Upgrading grunt, karma and build scripts