Add ensure_backrefs helper for consistency checks
Merge branch 'develop' of https://github.com/CenterForOpenScience/modular-odm into remove-redefinitions