Added support for JSONP and pub/sub.

Added $.JSONP method to enable JSONP calls.
Added methods to support pub/sub pattern:
$.subscriptions, $.subscribe(), $.unsubscribe(), $.publish()