Electron-Impact Broadening of MgII Spectral Lines for Astrophysical and Laboratory Plasma Research