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.
every time the loop goes around I have the clear the list, so then I'd have to re-reserve, and that would cause the allocation anyway.  I'll just put the reservation inside the loop -- compilers are usually smart enough to set aside memory for a variable that is initialized repeatedly like this.  
 
I looked at QVector, but since I'm sometimes prepending to the list I don't think that's the right choice. (the vector would march backward in memory as items are prepended to the front and then deleted off the back)