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
Merge branch 'master' of github.com:spesmilo/electrum into clean
fix: get_action
use QPlainTextEdit instead of QTextEdit
Merge branch 'master' of github.com:spesmilo/electrum into clean
fix syntax of redeem_script
Merge branch 'master' of github.com:spesmilo/electrum into clean
store output type explicitly in tuple
Merge branch 'master' of github.com:spesmilo/electrum into clean
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
Merge branch 'master' of github.com:spesmilo/electrum into clean