Make some Python 2 builtins equivalent to Python 3.

This includes map, zip, range, input, and filter. Also, uniform aliases for filterfalse and zip_longest are available.

See #523 and #331.
Make `rest` work on iterators (and return an iterator.)