Electronic, magnetic, elastic and thermodynamic properties of Cu2MnGa