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
Enabling 'when.d.ts' to be also usable as an external module so that is can be included like 'import When = require(../when/when);'
Added signature_pad.d.ts definitions
Test file for signature_pad
Updated signature_pad.d.ts file
Adjusting test after changing when.d.ts.

Note: In opposite to other Promise implementation such as" promise-es6" or"Q" the implementation "when.js" is AMD/CommonJS aware und therefore needs to be loaded as an module (e.g. using "requirejs").
Update crypto.Hmac.update and crypto.Hmac.digest methods to the correct signature
`generateWithTime` from `rx.lite.d.ts` was renamed to `generateWithRelativeTime` and moved as common part to `rx.time-lite.ts`.
added interfaces for firebase simple login
added explicitly void return type for firebase simple login calls
make the callbacks optional on firebase simple login
Added AMD support for Knockout validation
selectItem
Update angular-protractor.d.ts

Change string to the correct type, webdriver.promise.Promise.
Update angular-protractor-tests.ts

Fix test to correspond with the new, correct type for getLocationAbsUrl.
Add support for optional event data.