fix name indexing and broken namecoin tx
move namecoin-specific methods out of Bitcoin::Script