closes #4949 : bug fix : handle "true"/"false" in snapshot api for "include_global_state"

closes #4949 : bug fix : handle "true"/"false" in snapshot api for "include_global_state"

[see issue #4949](https://github.com/elasticsearch/elasticsearch/issues/4949)