#1154 - Get Magento Edition in a more general form.

Signed-off-by: Carlos Escribano Rey <carlos@markhaus.com>