Add screen cast recording functionality

This adds screencast recording to the luna-next compositor. It's completely based on work done by people from the Nemo Mobile project. All code parts taken from others are marked as so.

This is still work in progress so PLEASE DON'T MERGE IT YET.

Will be extended a bit to make conversion into a real video file easier.