fixes db import and cleans out rev.

fixes issue with dumping punctuation on db import. Converts ISO chars back into UTF-8 chars. Cleans out old revisions