An elasto-plastic nonlocal damage model