fix #750
wizard: ask for password earlier during restore
Rewrite accounts and transactions: store pubkeys instead of addresses in order to avoid unnecessary derivations.
add_keypairs: simplification
rm duplicate method getpubkey
get_master_public_key: always return xpub of main account
Merge remote-tracking branch 'upstream/master'