refactor range_entries and rev_range_entries
more (rev_)range_entries refactoring, expose range_ascending and range_descending
feedback from PR
Merge branch 'range' of https://github.com/domsj/camltc into domsj-range

Conflicts:
	src/otc.ml