Fix PEP8 violations in the services app

https://github.com/GeoNode/geonode/issues/1588