Add MagentoConfiguration and a command to check validity of connection

Use a better fault_code as your code should not rely on exception message