Refactor mysql module

Adapt to changes in puppet-mysql's PR https://github.com/camptocamp/puppet-mysql/pull/60 (which must be merged at the same time)