Change recording methods to return and accept recording object.
Change recording methods to return and accept recording object.

It allows the methods `_startRecording` and `_endRecording` to
share an object with information.

Thorsten71/resol-vbus,danielwippermann/resol-vbus