Moved computeMeshResolution to pcl common

where it can be used by other programs. Also added an additional `computeMeshResolution` which accepts
both a point cloud and an indices vector.
I would propose to call the file "mesh_resolution.h", to be more specific.