Text this: Structural stability of (Ga,M) As from first principles : Random alloys, ordered compounds, and superlattices