added passphrase support, currently assumes encrypted wallet
now checks for encryption on wallet.dat and/or already unlocked wallet
Merge pull request #3 from rseymour/master

This works, but it assumes an encrypted wallet.