[WIP] Add MagentoConfiguration and a command to check validity of connection

Merge those two lines (31/32) in a getMagConf($code) ?