Convenience fn to convert transaction to hex string
Merge pull request #51 from dthorpe/transaction.tohex()

Convenience fn to convert transaction to hex string