Add MagentoConfiguration and a command to check validity of connection

If that shouldn't never be called, then don't handle it.