Flush rewrite rules on initial activation

Or if a DB version doesn't exist.
Merge pull request #6 from washingtonstateuniversity/flush-rewrite

[PR] Flush rewrite rules on initial activation