Install my.cnf template before package install

All modern packages will politely not overwrite local copies of my.cnf
upon install. This eliminates problems with the service being restarted
multiple times for no reason and also prevents failures where
discrepancies between the the pid_file name in the package my.cnf vs
the templated my.cnf cause mysql to fail to start or stop.