refs #158 set core->state = CORE_CLOSED in case of forced shutdown
refs #158 added error code to gcs comp message, close gcs core when
delivering self leave
refs #158 removed redundant comment
Merge pull request #160 from codership/gh158

refs #158, #160 - close gcs core cleanly in case of backend error.