Implement flags isRecording and hasRecording

The flags are calculated, dependent on the availability and absence of
dateStart and dateEnd of a recording.
Use previously introduced recording flags

... in the templates
Show icon when recording is available for a study