moved the 'run_binary_on_list_of_points' function in common

Minor improvements to this function, and integration into the geographiclib
wrappers.
add docstring