Adds support for building the connect url even if you don't have /plugin/_kopf in path.
Merge pull request #191 from matthughes/supportBuildingUrlWithoutPluginInPath

fixes relative path when original url doesnt have /_plugin/kopf
missing compiled file for previous PR
removed useless index settings service and added tests
retrieve only necessary information from nodes/stats call