create encoder manager

move encoder management out of streamserver class
servicehdmi: add recording support
ServiceReference: allow recording of 'hdmi in' ref.type