Allow setting custom request headers

Allow setting custom request headers for the upload and crop request. Also calls the request callbacks with the request response data from jQuery.