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
fixes for pending accounts
transaction: separate deserialize and update methods
make seed dialog a bit wider
fix: get_action
use QPlainTextEdit instead of QTextEdit
fix syntax of redeem_script
store output type explicitly in tuple
fix: add type 'aaddress' in change output
Add tests to the wallet.py module.

This increases test coverage a lot.
Removed failing test for now

As discussed on IRC, it might be too early to write this test since the
behavior is not entirely defined yet.
don't use address_is_old in code that can be run offline
don't use address_is_old in code that can be run offline (again)
fix: new outputs format and payment requests
Merge pull request #749 from chrisglass/clean-tests-wallet

Add tests to the wallet.py module.