A new moment-based general-relativistic neutrino-radiation transport code: Methods and first applications to neutron star mergers