adds helper methods getWalletOutputs to Transaction, and getAddressFromPubKey, getAddressFromScript to TransactionOutput.

Please review the proposed changes and consider them as helper methods for a newcomer to the library.