Node compatability

* [x] get rid of window export
* [x] use lib for Promise object
* [x] use lib for XMLHttpRequest object ([xhr](https://github.com/Raynos/xhr) ?)
* [x] update README

```diff
 var utils = require('./ext/utils.js');
 var console = require("console");
+var Promise = require("bluebird");
+var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
 var hawk = require('hawk');
 var deriveHawkCredentials = require('./ext/hkdf.js').deriveHawkCredentials;
```
https://daybed.io/daybed.min.js could be enough if we want to serve it with AD but yes if we want to serve it with a CDN cdn.daybed.io is even better don't you think?