Several small improvements and bugfixes
Added support for rewrite rules via grunt-connect-rewrite