Fix #on_view order and obey collection = all

CollectionObject#on_view should return only permanent collection objects
by default and should return them in the proper order
Merge branch 'fix-on-view-order' into develop