Upgrade core library version 0.82.0 -> 0.82.1

This release of core sets `MAX_BPNODE_SIZE=1000` in both release and debug mode. For further details, see https://github.com/Tightdb/tightdb/blob/master/release_notes.md#0821-release-notes.

I have updated CHANGELOG.txt, but I have only added this:

Updating to core library version 0.82.1

I'll let you guys decide on what additional details to add.

Note: This PR includes everything from https://github.com/realm/realm-cocoa/pull/826 as of a few minutes ago.

If the object was already in another realm, `object->_row = table[rowIndex]` doesn't detach the accessor from the old table. Previously this resulted in rare bugs (deleting a row from the first table would update the accessor despite it now being an accessor for a table in a different realm), but with the change to how tables track accessors it instead results in a prompt crash.