fix bug with the order of signatures in tx input
detect if wallet can sign tx before showing sign button
tx dialog hooks
First cleanup branch commit

This fixes some import and whitespace issues to align closer to pep8.
I added a few comments to make further contributions easier.
Removed uselss comment.
Merge pull request #730 from chrisglass/pep8ing-phase-one

First cleanup branch
fix import
various bugfixes for imported addresses
catch exceptions raised by fiat amount conversion to decimal
minor fix
define frozen signal for exchange rate plugin
remove unused variable.
catch exception within sign thread, to re-enable send button
add missing module qrtextedit
wallet.is_beyond_limit (False for imported accounts)
fix payto size
Added _trial_temp to .gitignore
Moved bitcoin.py tests to their own file

This allows standard python testing tools to discover and run them.
Added private/public key tests

Including converting from a private key to a public key, and
deriving the primary address from a private key.
Made _do_test_crypto private to allow nosetests