[GEOS-6791] GeoServerTileLayers are saved even if _Create cached layer_ ...

...is disabled

This pull request contains a fix for JIRA: https://jira.codehaus.org/browse/GEOS-6791