rpi: Split out CEC to a file of its own
rpi: Fix various bugs related to CEC

Also when our video output is not visible, shutdown UI rendering
to reduce power consumption, etc