COOK-4307 Add check to ensure initial my.cnf handling is only done on fi...

...rst setup.  Also, delay restarting mysqld until end of chef-client run.