attempted fix for iterator_range relational operators bug

Looks like a lot, but it mostly a revert of the iterator_range relational operators, with an extra enable_if to avoid regressing https://svn.boost.org/trac/boost/ticket/6715. Also, adds a test.