Convert suspend/resume to use objects

Switch suspend/resume to use objects.  This also converts the compute
API tests to be unit tests.

Related to blueprint compute-api-objects

Change-Id: I256e495b214742f28d21ca9d779716f32c56f9bc
Merge "Convert suspend/resume to use objects"