Set up karma, karma tests and grunt configuration. Removed unnecessary dependencies.