webui: Added direct play/download button to the finished recordings tab
mpegts: fix the table locking

The table must be inserted/removed in the mi_output_lock protection, because
mpegts_input_table_dispatch() requires the consistent list and the count of tables
(see assert).
mpegts dvb autodiscovery: fix the onid/tsid checks
capmt: fix CA_SET_PID for index == -1 (multiple services from one mux)