Lint fixes.
Added service group to databases.
Added slave check and moved mysql check to master.
Merge remote-tracking branch 'origin/master' into production