Fixed two bugs in transaction validation.

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Added minimum features for transaction signing

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Merge pull request #28 from amiller/txfixes

Bug fixed in transaction validation, transaction signing added