Updated code to obtain gs_resource in models(layers) to use gsconfig get_resource function with workspace and store passed.  Fixed issue with gs_slurp and error handling for nonexistent workspaces