Correct error in iterator_range for const containers
and add advance_* methods.

Moved to main cvs.  No longer needed in sandbox.