Added menu and dialog for entering private key
need to remove tick in menu and add space for comment with address
also need to link up with actual command so it does something!
first version with import working.
Need more error checking and inform user of issues.
added progress dialog for import of private key
linked scanwalletfortransactions back to progess box
changing progress to display number of blocks
adding in code to unlock wallet if required
Merge remote-tracking branch 'origin/master' into importprivatekey

Conflicts:
	src/qt/bitcoingui.cpp
P2P: do not return addresses older than 7 days in "addr" messages
listreceivedbyaddress now provides tx ids (issue #1149)
Updated help and tests for getreceivedby(account|address)
break after ProcessMessages() to give other peers a chance.
Just some comments on what I'm aiming to do here
more TODO comments for things to be moved to rpchelpers.cpp
Make GetAccountAddress and SetAccount into methods of CWallet
move some stuff touched by setaccount into methods of CWallet
Some touch-ups per Diapolo's diff comments.
make GetAccountBalance a method of CWallet; clean up some spacing
make GetAccountAddresses into a method of CWallet
snip an unneeded comment; inline a couple of variables in
CWallet::GetAccountAddresses()
use CWallet::GetAccountAddresses() in getaddressesbyaccount()
indentation fix
Remove CBitcoinAddress deps in wallet.cpp; Remove an inappropriate TODO.