Text this: First principles study of structural, electronic and magnetic properties of Mg1-xMnxTe alloys