use a XMLRPCFactory to instantiate XMLRPCClient/XMLRPCClientMock
fix a crash when server reply with truncated json message
clean up XMLRPCClient mock
Merge branch 'feature/japan-testing' of github.com:wordpress-mobile/WordPress-Android into feature/japan-testing