Moved pending game count to its own API method

Resolves #1064.

http://jenkins.buttonweavers.com:8080/job/buttonmen-AdmiralJota/230/