Allow stub() to take an object map of stubs
Change constructor arguments to use options object, as optional arguments are getting too complicated
Allow module to be required after DOM initialisation via constructor option
Add Travis CI build config
Update readme to cover latest API
Bump to v0.2.0