Add API tests for compute profiles

Update the `ComputeProfile` class definition: add mixins for creation, reading
and deletion. Thoroughly test the relevant API endpoint.
Merge pull request #1278 from Ichimonji10/bz-1107714

Add API tests for compute profiles