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.
run_hook: no more than one plugin shall return a result
wizard restore hook
Merge remote-tracking branch 'upstream/master'

Conflicts:
	gui/qt/main_window.py
	lib/transaction.py
	lib/wallet.py
Merge branch 'master' of https://github.com/pooler/electrum-ltc

Conflicts:
	gui/qt/main_window.py
	lib/paymentrequest.py
	lib/transaction.py