Fix iterables.extent() swapping min and max. Add tests.
Merge pull request #70 from google/extent

Fix iterables.extent() swapping min and max. Add tests.