MC-44: Add MagentoConfiguration and a command to check validity of connection

In the pim, the validation is far more strict and precise than yours, as it usually accepts alphanumerical characters and dash. So if you can reuse a better validation from the PIM, it would be a good thing.