Switch to gulp, refactor unit test setup