Cyclic-action levelling, lifting, lining and tamping machine with 3-rail lifting and 4-rail tamping for turnouts