Adds browser-file/field in package.json.

  This commit adds the functionality of using the browsers implementation of
  XMLHttpRequest when this module is used in the browser. The browser-field in
  package.json points to the file which will be used if compiled with a tool
  that supports this feature.
  Really convenient if you're building stuff that will run in both server and
  browser environments.