change Tx#signature_hash_for_input, Script#new and Script#check_callback api

  fixes OP_CODESEPARATOR and makes OP_CHECKSIG/check_callback simpler.