Download csv measurements template.

- Don't show csv tab when user not permitted or when no devices present.