API Content Views with yum repo test cases - issue #1265

implements 4 tests cases - issue #1265 

all 4 tests are ok 

I sometimes write this to work around `create`'s dumb return value:

```python
content_view = entities.ContentView(
    id=entities.ContentView(...).create()['id']
)
```