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.
Can we add `const` qualifiers (both for the reference and for pointer)?