Fix use of response.error which does not exist in requests >0.4
Merge branch '2.0' of github.com:datagovuk/ckanext-qa into 2.0