[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