Add MagentoConfiguration and a command to check validity of connection

Please add double quotes around %s. It makes the message more readable.