added watch command to grunt
added tests for api bridge