Checking a matrix for primitivity was wrong, it was checking only for irreducibility. It is corrected now and it checks for primitivity.
Merge remote-tracking branch 'origin/master'
Now we can search for curves lifted from RP2 with FoliationFromRP2::generateLiftsOfGoodTransverseCurves, but something doesn't seem right. Probably with ArcsAroundDivPoints. Too many curves are generated, maybe checking for self-intersection doesn't work well.