Increased Mysql interval to prevent loss of class when quickly relogging
after class change.
Made db keep-alive polling interval adjustable.
Added check to re-open db is closes on writing.
Updated Factions integration for factions 2.7.1