Fixes import & export with new encryption scheme

Also, adds a `Compatibility` namespace that will make imports of older wallets possible