first attempt at master/master replication
fix some typos

- also use db network from attributes/env
use mysql api for deleting insecure users

- also some namespace tidy up
reverse test logic so it actually works
change the way server_id is allocated
lock down repl user to same network
Revert "lock down repl user to same network"

This reverts commit 82b2aaba72976280a4e5c9e54bd9e43acabe937a.
- can not guarantee netowrk of other node
foodcritic
Merge pull request #16 from mancdaz/master-master

Merged automatically by jenkins after successful build test