implement first and last for list_with_ref.
add broken from_iterator.