fix for crash on delete
Merge branch 'master' into al-delete
Merge pull request #1100 from realm/al-delete

Fix for crash when deleting an object from multiple threads