Improve logic
Improve logic

- Take url configuration only via hash object
- Support externally provided options
- Turn on caching by default
- Validate input configuration object
- Match url using `pathname` token (bypasses any query strings appended)
- Improve error reporting
- Make sure multiline error message doesn't throw on client

gillesruppert/webmake-middleware