Implemented the movie recording feature.

Hi,

Here is a first implementation of the movie recording feature (it includes all the commits from my previous PR).
Next step would be to do some refactoring to replace some occurrences of the word 'photo' by 'item'.

Let me know.

Hugues.