exe, mysqldb: updated db commands to insert testdata rows and end testruns. Also, updated max_main to grab appropriate params via the db.
maxclasses: cleaned up some formatting and replaced pretty_print with patch_to_string, so the string can be returned and used by the caller for more than just printing (e.g. storing in a db).
geneticoperators: updated method signatures (BUT NOT IMPLEMENTATION) to match calls in max_main.