Handle required ForeignKey DoesNotExist errors gracefully

This is an alternative to the pull request in #3. This specifically checks for required ForeignKeys, and defaults the old value to `None` if a DoesNotExist is raised for the `rel.to` model.