[WIP] Add support for encrypted Realms

Depends on https://github.com/Tightdb/tightdb/pull/543 to actually work.
My idea was to have a list of known issues with encryption in the guide (worse performance, slightly larger files, no debugger support), but I guess also calling out that it doesn't work with a debugger attached here would be a good idea.