[CIDR] Added getStart, getEnd, getNext methods and cidr_sort, optimize_cidrlist static helper methods.