Download csv measurements template.

- Don't show csv tab when user not permitted or when no devices present.
Merge pull request #91 from MastodonC/feature/csv-template-download

Download csv measurements template.
WIP. Start of improved profile display.
WIP
Occupancy Row.
Added header row for profiles.
Added measurements row.