Creating an endpoint /gs/updatelayers

This is in order to be able to run the updatelayers command from the admin interface and from other clients.
It requires to be logged in as a superuser to run updatelayers.

Some code was moved from updatelayers.py to gs_slurp in order to avoid code duplication.