Add grunt, karma and tests.