[WIP] Add support for encrypted Realms

Depends on https://github.com/Tightdb/tightdb/pull/543 to actually work.
both good ideas.