Early version of innodb conversion process.

See mailing list [http://permalink.gmane.org/gmane.comp.bug-tracking.mantis.devel/5521] for request about helping review performance
db_query() instead of db_query_bound()?