Add MagentoConfiguration and a command to check validity of connection

Have a look at the doc for proper formatting of error (see <error></error>)