Script evaluation code

A replacement pull request of [https://github.com/haskoin/haskoin/pull/36]