jQuery: trigger now JSDoc'd and typings

brought in line with documentation.  Also added test suite.
jQuery: uncommented tests

realised they could be used as long as param1 and param2 made optional
Merge pull request #1698 from johnnyreilly/master

jQuery: trigger now JSDoc'd and typings
Added $promise & $resolved properties

[ngResource.$resource](http://docs.angularjs.org/api/ngResource.$resource) defines a `$promise` property and a `$resolve` property on the Resource.
angular.d.ts Annotated spelt incorrectly

Fixed spelling mistake in parameter names. Changed all occurrences of `Annotaded` to `Annotated`
Merge pull request #1701 from scottmcarthur/master

Added $promise & $resolved properties to ngResource.$resource & fixed spelling issue in angular.d.ts