Sync x2 /2

This is based on ywwg:sync-insta-rate.

Implement master sync for tracks that are x2 or /2 bpm ratios.  So a 70bpm track will line up with a 140 bpm track.  The engine will pick the ratio that requires the least amount of rate adjustment to achieve a match.  From a user perspective it should Just Work.  Engage Sync on both decks and start playing.  Things like quantize should work intuitively.

This was a really tricky change that required a lot of head-desking and careful ordering of calls.  I tried to comment things to point out where the sticky stuff lies.  I would be very happy to push this to 1.13, but it's ok for testing now.

Includes new unit tests, and fixes to the testing infrastructure which had some major problems that none of our tests were relying on.
QList does not free the memory used for objects < sizeof(void *)
It only frees the Data, allocated for bigger objects. But the space for the pointer to it is always there.
You store pointers only, so a preallocated list will work here.