Implement server stats resource
Remove debug code
Add querier parameter to serverStats.
Add test for serverStats.
Fix test hanging.
Minor cleanups.
Fix mistake.
Merge pull request #3 from jsza/master

Merge server stats