Completely redone the typings from the docs.

Using 0.9 (generics and override by string literal).
Fixed for TS0.9 :
angular-resource: declare required
chai-assert: 'declare' modifier not allowed for code already in an ambient context.
chai: Trailing comma not allowed
Add promise to JQueryDeferred

Add promise method returning JQueryPromise from JQueryDeferred:
http://api.jquery.com/deferred.promise/
Initial generic types for jquery statics
Fix Knockout tests for 0.9/generics

Allows ko.observable()
Add Popcorn Definition
Add Reveal Definition
Merge pull request #497 from mihailik/master

Reworked CodeMirror.
Added declare modifier to angular-resource
remove method added
JWPlayer added
Merge pull request #621 from nwolverson/jquery-promise

Add promise to JQueryDeferred
Merge pull request #622 from nwolverson/jquery-generic-statics

Initial generic types for jquery statics
Updated jquery.tinyscrollbar definitions to TS 0.9
Added definitions for jquery.tinycarousel 1.9
Merge pull request #630 from martinduparc/patch-1

remove method added
Merge pull request #631 from martinduparc/patch-2

JWPlayer added
Merge pull request #629 from kenstone/master

Declare Modifier
Merge pull request #624 from grapswiz/popcorn

Add Popcorn Definition
Merge pull request #626 from grapswiz/reveal

Add Reveal Definition