fix: call `documentReady` in next tick (#45)
fix: call `documentReady` in next tick (#45)

Fixes #29.

You can now import `ahoy.js` in lazily loaded modules or modules that
have been loaded _after_ the `document` became ready and then have a
chance to immediately configure it

```js
// some module that is loaded _after_ the document became ready
import ahoy from 'ahoy.js';

ahoy.configure({
  visitsUrl: '/foo/visits', // actualy works now
  eventsUrl: '/foo/events'
});
```
ankane/ahoy.js,ankane/ahoy.js