added webservice methods to retrieve performance data

Not ready for merge yet. Just creating for review.
All of these ``SELECT``` statements need an explicit host definition of "read_host". It defaults to master and for data retrieval from the web service we definitely want to use the read host. All ``INSERT`` and ``UPDATE`` statements should use "master_host".