Added ES error middleware for Django (issue #47)