Minimize number of MySQL queries in agent check
Fixes issue #591.
Use 1 query for all status variables, remove extraneous import
Remove debug password
Merge pull request #660 from DataDog/issue591

Minimize number of MySQL queries in agent check