optimized, cleaned up, commented
Merge branch 'master' of https://github.com/spesmilo/electrum into showaccount
Merge pull request #916 from Tafelpoot/optimize

Optimized transaction.py a bit more