[pvr] add missing lock in IsConnectedClient()
[pvr] remove unnecessary explicit namespace usage
[pvr] actually use the PVR_CLIENT typedef
[pvr] use const iterator whenever possible
[pvr] reuse some code by adding a QueueJob() method
[pvr] add IsStopping() and IsStopped methods
[pvr] actually use the state helper methods
[pvr] make the state helper methods inline
Merge pull request #3684 from Jalle19/pvr-small-fixes

Cleanup some of the PVR code