Add mesh decimation of vtk files with decimate_file().

This function calls vtk.vtkDecimatePro() and optionally smooths with vtk.vtkSmoothPolyDataFilter().

Also, replace instances of xrange with range for forward compatibility.