Add registerPlugin function.

More details: http://developer.longtailvideo.com/trac/browser/sdks/jw6-plugin-sdk/docs/plugins-js.html
Add missing _.mapValues type definition
Add method documentation
Use tabs instead of spaces, like the rest of the file
Use generic parameter
Add support for optional event data.
Fix callback parameters type for $.Deffered methods
fix tests, add additional overrides to deferred methods
a bit more definitions for jsPlumb. Still, this file miss a lot of definitions from jsPlumb
Fix typo
Fixes #1636: Add get(setting) definition on express.Application
Adds bindings for Apache Cordova
various bugfixes in d3.d.ts
d3.d.ts: fixed raw signatures for conic projections
d3.d.ts: no-return -> void return types
Fixed incorrect declaration of countBy function
added definitions for parsimmon
added definitions for XRegExp
add test file
Merge pull request #1963 from Bartvds/def/xregexp

added definitions for XRegExp