BMP file reader/writer.
For now run the logic loop only once.
Changed camera functions to use BMP for storing.
Swap the BMP rows read from stdout.
Initial implementation of motion detection.

The most simple one with frame difference tests, contains difference
threshold and noise filter options.

Quite unsure if rasp can perform with this algorithm.
Merge pull request #16 from jesseniemisto/master

Fixes and bmp export for taken pics.