Add recording() context manager

This is a simpler way to ensure that the camera is in recording mode during
acquisition and stops recording afterwards.
Merge pull request #196 from ufo-kit/camera-cm

Add recording() context manager