Return response when opening an index
Merge pull request #732 from dpetek/hotfix-openIndex

Return response when opening an index
making sure id is urlencoded when using updateDocument
Merge pull request #734 from TroodoNmike/master

making sure id is urlencoded when using updateDocument