Modify Jetpack_Client_Server to support unit testing, add some tests.

Here's a proposal for modifying the Jetpack_Client_Server class so that it can be unit tested. Does this seem reasonable?
check_admin_referer() does actually return something if it doesn't die, may be worth `return`-ing that back for future potential usage.