End to end api smoke test

Steps involved:
1. Create new organization and environment
2. Clone and upload manifest
3. Sync a RedHat repository
4. Create content-view
5. Add repository to contet-view
6. Promote/publish content-view
7. Create an activation-key
8. Add product to activation-key
9. Create new virtualmachine
10. Pull rpm from Foreman server and install on client
11. Register client with foreman server using activation-key
12. Install rpm on client
The three statements above could be turned into two:

```python
response = client.put(
    entities.ContentView(id=content_view['id']).path(),
    {u'repository_ids': [repo_id]},
    auth=get_server_credentials(),
    verify=False,
)
response.raise_for_status()
```