Simple middleware for defining and applying rewrite rules. Inspired by rack-rewrite.