Add support for configurable mysqld flags

Example use case:

docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=secret -e MYSQLD_FLAGS="--innodb_autoinc_lock_mode=0" -d mysql