Fix #18

Now PQ prime factorisation is performed with closure long library when
possible. It gives significant performance improvements (10x sometimes)