FIX WMS pyLint polishing

Removed many minor warnings. They hide the real issues.
Replaced gLogger with self.log in agents
Added __RCSID__ and HeadURL where needed.