Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
GetValueIn makes more sense as a CTransaction member.