fix rlp when a byte is >247
and test for signing the namecoin contract
improve namecoin tests