Includes python activation tests based on replay protection activation.
Features:
- Tests that when upgrade / downgrade happens, newly-invalid transactions are dumped from mempool (but not valid ones).
- Don't ban peers who send a tx that would be valid under the mandatory flags on other side of upgrade/downgrade. This is tested by distinguishing mandatory transaction rejection errors from not-mandatory ones.
Depends on D2527