Added karma to test all require calls, Broke out grunt options and tasks.