Add method `get_server_credentials`

New method simply returns a tuple of ('username', 'password'). It's simple, but
more convenient than reading values from the config incrementally. Also, add
unit tests for the new method.
Create some simple tests for path api/v2/hosts

Implement a few tests which check whether it's possible to GET or POST to the
path. Check for things like whether an HTTP 200 is generated when a GET request
is issued, that sane sets of data are returned, and that an HTTP 401 is
generated when an unauthorized HTTP request is made.
Decorate method with `skip_if_bz_bug_open`
Create some simple tests for path api/v2/models

Implement a few tests which check whether it's possible to GET or POST to the
path. Check for things like whether an HTTP 200 is generated when a GET request
is issued, that sane sets of data are returned, and that an HTTP 401 is
generated when an unauthorized HTTP request is made.
Make Testimony happy with docstrings
Refactor tests

Use a `for` loop instead of repetitively listing out function calls.
Further refactor tests

Add fauxfactory to `requirements.txt`. Use fauxfactory in the tests.
Further refactor tests

Use random strings instead of hard-coded strings. Improve error message
handling.
Merge pull request #932 from Ichimonji10/test-api

Test API
Change expected HTTP status codes to 201

The HTTP 201 status code means that a resource was created. The tests which
attempt to create a resource should expect an HTTP 201, not an HTTP 200.
Merge pull request #938 from Ichimonji10/fix-test

Change expected HTTP status codes to 201