Moved related stuff to SignatureScript.cs and added test for it.
Added TransactionUtilsTests.cs and tests.