Moved common mysql code to util/mysql
Merge branch 'cperez/common-mysql' into cloud