map-context: allow to find the extent for layers when creating a new map context
admin: fix for sql changes in map context layers