Add test coverage CMD cleanup_service

Added new MockFunctions base class to mock one or more functions
Added test_cleanup_services to run cleanup tests for global services
(flavor, image, user, project, domain, role)

tests
  -dry_run
  -save_state
  -delete
  -preserve

Network service tests up-coming.

Change-Id: If6d5f8de282f4f291c0f51f44938f2febc0efda4
2 files changed