move core code into buildTestSerial function
first parallel version of building giving compatible results
Merge branch 'devel' into simd-building

Conflicts:
	buildtest.cc
	buildtest.h
factorize building in processCandidates function and update dummy version of parallel building