Existence of an inverse integrating factor, center problem and integrability of a class of nilpotent systems