[algorithms][is_valid] in number_of_distinct_values, make size const
[algorithms][is_valid] rename N to MaximumNumber
[algorithms][detail,is_valid] rename number_of_distinct_values to
num_distinct_consecutive_points and move it to namespace
boost::geometry::detail; also rename and move corresponding file
to boost/geometry/algorithms/detail;