Fixes #5

Allows for better logging.

Allow for a compatible logger to be passed as options.log.  Otherwise,
defaults to `console`.  A compatible logger would have both `error` and
`info` methods.
Merge pull request #7 from evanlucas/patch-5

Fixes #5