updated activation-key tests to use factory and api's for dependent entities

- All tests are now updated with factory implementation
- Doc-strings are now in new format
- Tests using UI only for activation-key feature, dependent entities(repo/product and CV) handled by api's.

I don't think we should specify an ID here. The "sync" path includes an ID already. It's in this format:

    /repositories/<id>/sync

Passing in an ID as a JSON parameter means that an ID is being specified in a redundant manner: once via the URL, and once in the JSON itself.