Abstract integration with respect to measures and applications to modular convergence in vector lattice setting