updated mysql module
default mysql connection limits to 10
added log.stat function
reworked mysql connection pooling

- added sql connection stat logging
- one retry on connection errors
- prevent pools from getting removed
Merge pull request #581 from dannycoates/mosql

Some MySQL connection improvements