Added query string builder and support for jQuery Deferred object.