Adding support for url rewrite

Useful when rewriting also means rewriting the context. 

Inspired by https://github.com/viart/grunt-connect-rewrite