Use openstack rpc functions to generate _Remote exceptions

use serialize_remote_exception and deserialize_remote_exception
to generate _Remote exceptions in api testing.

Change-Id: I30865306830678db493b83512bbcfac3b27ff13b
Merge "Use openstack rpc functions to generate _Remote exceptions"