Add MagentoConfiguration and a command to check validity of connection

Nope, it's "Tests" I think