Large deviations and metastability in condensing stochastic particle systems