Niemeier lattices, Mathieu groups, and finite groups of symplectic automorphisms of $K3$ surfaces