fix jshint errors and add .jshintignore to ignore ngMockInjected from protractor test