fix range checking in histogram indexing
add unit test for histogram indexing
specify axis in _range_check
Merge pull request #276 from ndawe/master

Fix range checking in Hist[]