Fix mysql compatibility

Must not include mysql class directly, just via mysql::server.
Also remove dependencies that cause cycle in mysql dependencies.
Merge pull request #2 from svarnau/master

Fix mysql compatibility