Fixed bug on multithreading

Missing restype specification on IIBoost.py. Added some test classes. Change of pixeltype on globaldefs.h (There are some superfluos changes on spaces and tabs, also)