Fix collection=all for CollectionObject#by_year

Pay attention to the "collection" option in #by_year. This method should
return only permanent collection objects by default.
Fix collection=all for CollectionObject#by_year_range

Pay attention to the "collection" option in #by_year_range. This method
should return only permanent collection objects by default.
Merge branch 'fix-objects-by-year' into develop