ability to use Deferred and Promises in JVM

Deferred and Promises should be used in presenters, this patch allows to execute GQuery statics from the JVM like GQuery.when() and GQuery.Deferred().

Deprecating JsRegexp because has the same client implementation of RegExp, it was necessary in order to use static GQuery.