More foundation4 fixes

Mostly the export page, plus some title refinements. Also fixed another
chicken'n'egg problem in models usage of sample ID
Added links to labels in collection views

Useful for useability and also to pass tests!