Extra APi stats, imported from p2pool-n

https://github.com/mmouse- wrote some extra API calls used by the interface for https://github.com/donSchoe/p2pool-n. Made a diff to get them into other forks still tied to original repo.