Spelling error in listing column name
Fix #696: Site error using template for worksheet creation

Handle duplicated reference analyses in templates
issue #763: display only SamplingDate, and not DateSampled
Fix #715: prevent ulocalized_time from defaulting to today's date
Fix #757: Attachment permissions
issue #769: AddReferenceSample permission
fix #769: Analysts should be able to create new control specimen