Fixed compilation errors in 'image_buffer.cpp'.
The images are now written in the specified output directory.
Implemented the 'i2c_manager' class.

This class manages a thread listening to the I2C port and provides helper functions
to send messages and get the current time.