Add simple replace-by-fee logic to mempool.

Replaces transactions if a new transaction is seen with a higher fee,
specifically both a higher fee per KB and a higher absolute fee.
Children are evaluated for replacement as well, using a fixed
depth/breadth limit to prevent DoS attacks.

Thanks-to Zeilap for code review and suggestions.