Handling server url by instance type
client now handles prod/preprod/dev/private. clientmapping, submit and subcommand have been refactored. More refactoring work would be needed to make things nicer. CAF-275

Signed-off-by: cinquo <m.cinquilli@gmail.com>
Merge remote-tracking branch 'upstream/master'
Merge pull request #3980 from cinquo/master

Client should be equipped with dev/pre-prod/prod cases