Optimize the PIDs filtering

I worked on similar thing like @adamsutton  , but I chose different method - the all PMTs are scanned only at the initial mux scan. Also, only really used CA PIDs are subscribed/opened in my implementation (works with cwc - capmt requires all caids :( ).