[pvr] add missing lock in IsConnectedClient()
[pvr] reuse code from ConnectedClientAmount()
[pvr] remove unnecessary explicit namespace usage
[pvr] renamed "addon" parameters to "client" to better reflect
the actual meaning
[pvr] actually use the PVR_CLIENT typedef
[pvr] use const iterator whenever possible
[pvr] add IsStopping() and IsStopped methods
[pvr] actually use the state helper methods
[pvr] make the state helper methods inline