Drop custom error checking code

Drop custom error checking code from `EntityFactoryMixin.create`. Drop class
`factory.FactoryError` and reference `requests.exceptions.HTTPError` instead as
necessary. Update and simplify unit tests for the `factory` module.
I've dropped these two classes because they are annoyingly hard to understand. Mock is used instead in the relevant tests.