Add msg_notfound, msg_reject and CTransaction.id()

also use b2lx instead of hexlify for python3 support.