Set up karma unit tests with gulp

@deini @alexmckenley