Convered GPGKey tests to use Factory and APIs for dependent entities

- Using make_gpgkey for create/update/delete tests
- Used api's mostly for tests where we are associating GPGKey with product/repo etc.

A browser session is not required to talk to the API.