Added AJAX

Added ajax support as a utility function. All options are passed in a
single object, as well as an optional success and error function