Cleaning the mesh

Is there a way to clean the mesh.

I know in maya there is a funtion for cleaning the mesh.
I want to merge all vertices that are still together. And edges that are not connected. And so on.

Is there a function for that?

MeshLint addon http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Modeling/MeshLint
Remove doube vertices (select all vertices and W / remove doubles)
Look in the Select menu for other options to help find ‘problem’ areas to action