better isolation for the full-stack tests
created dbError, which turns couchdb error responses into errors
GET /trainer/:trainerid route