V2 bugfixes

This PR fixes following bugs:
* `this is undefined` https://app.getsentry.com/gostellarorg/stellar-client/group/41605412/
* `Cannot set property 'name' of undefined` https://app.getsentry.com/gostellarorg/stellar-client/group/41605268/
* `$digest already in progress` https://app.getsentry.com/gostellarorg/stellar-client/group/41593454/
* Don't allow to enable recovery code before reset in migrated wallets.