Fix bug in Django in Python 3.3 where hasattr(model_instance, fieldname) raises DoesNotExist instead of returning False

Needed by https://github.com/mysociety/sayit/issues/287