Add Karma to the client and an initial app spec. Refactor the test dir.