minor update on mysql schema, types

This is not final schema because we depend on how the authenticate will be handled
initial skeleton for openchangedb_mysql, nothing implemented
move useful macros to common header to reuse them in openchangedb_mysql tests