Make sure all keys are set correctly. (refs #237)
Fix outdated pct_comment_flag user preference. (refs #237)
Fixed db_restore.php to restore tables with keys etc.
Merge pull request #240 from ServiusHack/issue/237

Issue/237