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.
Here we can also return immediately.