Prevents deletion of managed objects if a response mapper error is encountered

Unit tests and fix for https://github.com/RestKit/RestKit/issues/1695