Cacti should use PyMySQL instead of MySQLdb with the self contained agent

As starting of 5.0.0 we bundle PyMySQL with the agent
Reorganize imports
Make windows agent use the new dependencies for postgres and mysql