Add recording() context manager

This is a simpler way to ensure that the camera is in recording mode during acquisition and stops recording afterwards. Because this adds to the API, I wanted to check with @sensej, if this is alright. Personally, it nagged me to always call start/stop recording.