add Measurement Unit type and table
initial implementation of basic Sample table
sample templates and migration
fine-tune Sample.Attachment view and Edit