Fix regression with ORM with sorting and distinct (ref #929)
Split trek model tests (ref #787)
Intervention, infrastructure and project filters list of years is now dynamic (fixes #948)