Added object which generates rewrite rules.

These are Oregon Digital specific nginx rewrites.
Added rake file for generating nginx rewrites.
Added persistent link to generator.
Added regex checking to rewrite.
Changed rewrite string.
Escape characters.
Merge pull request #429 from OregonDigital/feature/RewriteGenerator

Feature/rewrite generator