Clean master copy from may12

Hi,

I believe i got the point with "dirty" branches and hope this one was "clean"

please review the submission
all the tests pass on Mac OS X 10.7 with:

cd liboptv
mkdir build
cd build
cmake ../ -i
(use option i386 for OSX_ARCHITECTURE)
cmake ../ -G "Unix Makefiles"
make
make test


AlexMacBookPro:build alex$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/alex/Documents/PTV/alexlib-openptv/liboptv/build
Scanning dependencies of target optv
[ 20%] Building C object src/CMakeFiles/optv.dir/tracking_frame_buf.c.o
[ 40%] Building C object src/CMakeFiles/optv.dir/calibration.c.o
[ 60%] Building C object src/CMakeFiles/optv.dir/rotation.c.o
Linking C shared library liboptv.dylib
[ 60%] Built target optv
Scanning dependencies of target check_calibration
[ 80%] Building C object tests/CMakeFiles/check_calibration.dir/check_calibration.c.o
Linking C executable check_calibration
[ 80%] Built target check_calibration
Scanning dependencies of target check_fb
[100%] Building C object tests/CMakeFiles/check_fb.dir/check_fb.c.o
Linking C executable check_fb
[100%] Built target check_fb
AlexMacBookPro:build alex$ make test
Running tests...
Test project /Users/alex/Documents/PTV/alexlib-openptv/liboptv/build
    Start 1: check_fb
1/2 Test #1: check_fb .........................   Passed    0.07 sec
    Start 2: check_calibration
2/2 Test #2: check_calibration ................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =   0.08 sec