Use data-gallery instead of the rel attribute as selector for HTML5 validity.
Added support for HTTP PATCH uploads.

The iFrame transport now supports HTTP methods other than POST and GET,
but transfers DELETE, PUT and PATCH via _method parameter and uses POST
for the actual request.
Merge branch 'master' into jquery-ui