SequenceLocks functions are used to evaluate sequence lock times or heights per BIP 68.
This is an alternate to #6312
This PR still needs to update unit tests.
In addition it no longer reflects sequence locked information in wallet txs. This can be added in later if desired, but I don’t think its important now.
This code borrows heavily from #6312 and the work of @maaku, @btcdrak, @NicolasDorier, and @sipa
(EDIT) Important Note: This PR has changed the semantics of BIP 68 to always use MTP for comparison regardless of BIP 113. I believe this makes more sense. BIP 113 is still needed to change the semantics of nLockTime however.