PDI-4301 - Misleading error mesages when using Carte or remote DI Server and HTTP errors (with HTML not XML) come back

- Refactor code a bit
- Carte root servlet now responds with 404 status in case request not matched
- Spoon cares HTTP response status and uses response text to give user a clue of the reason for the failure