Allow the user to pick his own dom-class/selector

E.g. it’s useful in node-webkit/atom-shell/… where 
the global object doesn’t necessarily have the “$” 
property.
Add PATCH and HEAD support to HTTP

fixes #44