Fix #696: Site error using template for worksheet creation

Handle duplicated reference analyses in templates

Conflicts:
	bika/lims/browser/worksheet.py

Conflicts:
	bika/lims/browser/worksheet.py
	bika/lims/content/duplicateanalysis.py
	bika/lims/content/referenceanalysis.py
Fix #715: prevent ulocalized_time from defaulting to today's date
Merge branch '3.01a' of github.com:bikalabs/Bika-LIMS into 3.01a

Conflicts:
	bika/lims/browser/worksheet.py