basically rewrite to use resources and notifications

see individual commits, i tried to commit things feature wise, there may be mistakes of spliltting the result to commits, but the end result still works (for me at least). tried to make defaults to be what your code did originally.

indeed there's more room to improve, like support any parameter configuration not just mysql.*, and maybe not even needed to run bin/config, could just dump whole json into local.json.

most important fix for this PR is that the recipe can be now re-run, it doesn't die in the middle with duplicate user key error or similar.