converting to grunt and karma

grunt for linting and minifying, and karma for test runner