Major fixes in build algorithm and moved testmain stuff!

+Added two files, which now contain the declarations and implementations
 of testmain.h/.cpp's functions. This makes the compilation process faster
 if only parameters are changed.
~FIX: MemoryAllocator didn't delete the Node array correctly
~FIX: MathUtils uses now areNearlyEqual instead of ==
~FIX: TriangleVerticeRefs.clip() didn't work properly if plane intersected
 vertex of triangle.
+ADD: hash functor for hpvec3 to HappahTypes
~BSplineCurve: Untabification.
~CHANGE: Usage of Heap instead of Stack in build algorithm, as stack can
 easily be overflown during recursion. (i.e. for the vector<...> types)
Merge branch 'fastkdtree-SS13-group1' of https://github.com/happah-graphics/happah into fastkdtree

Conflicts:
	happah/testmain.cpp
solved conflict in testmain and added simonTest()