Add API tests for config templates

Update the `ConfigTemplate` class definition: add mixins for creation, reading
and deletion. Thoroughly test the relevant API endpoints.
Fails on rhel7 but succeeds on rhel65.