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

Don't see the point of storing the valid state. Validation should be checked when needed and we shouldn't rely on a stored state.