Update dependencies and add ability to add custom filters.

Hi,

in this pull request I:
* updated dependencies
* added the ability to register custom filters
* modified promise and error handling
* extend readme about options
* added tests

Can you please release a new version to npm registry if all is fine?

Regards,
Christian