Hopefully fixed MySQL locking problem. Now MySQL stays locked during LVM snapshot
creation. I didn't fix the issue though for non lvm snapshot situations but just removed the
anyways broken funcionality.
forgot to close an if
try a better way to pass input to MySQL
more tries to fix MySQL so that it won't throw errors
hopefully last try to fix MySQL commands
updated documentation, removed non-needed lines
prepare for 4.10 tagging, update documentation, etc