Remove faces in contact with non-manifold edges

We would like to do exactly the same (remove non-manifold edges and fill small holes). Can somebody give advice?

I remember that somebody mentioned that Kitware is working on a mesh cleanup filter. Is there any news about that?