Fix IDEUI-221 Better app health check

Enhancements made:
* if HEAD method is not supported, there's a fallback on GET one,
* all 1xx, 2xx and 3xx are now considered as working status code.
Merge pull request #82 from stephanedaviet/IDEUI-221

Fix IDEUI-221 Better app health check