nice-ify histogram ranges, use range algorithm
fixed tests, renamed histrange
one-line midpoints, fix arrayops test
simplified histrange calculation, added help
typo in hist doc
include egdes in return value, resolve #2335
Merge pull request #2687 from simonbyrne/hist

RFC: nice-ify histogram ranges, use range algorithm