CMake project creating a library

Hi,

I have moved the project to use cmake. It is very easy (cd X;mkdir build;cd build;cmake ..;make).

I have set the testing into the utils dir.

The next step is to hide the mmal dependency so that others projects can use the library without need to include it in theirs. I will work on hiding the implementation of the camera.