Added external identifier attribute to sample and container. Updated the database. Ran migrations.
Updated views and forms with the external identifier field.
Added a can_have_external_id to the container type, to control whether a container can have one or not.
Updated the isatab parser and the rake uploader so as to grab the external identifiers from the isatab file. Added sample external identifier and box external identifier.
Added audit trail for study and investigation.
Added fields on search function (add tsv_content attr, add search function in every searchable model, add search in routes, update models).
Modified studies and investigations views to be consistent with the other templates.
Fixed container view for contained child containers and samples.
Fixed bug on samples edit multiple for retiring, and stopped the auto-creation of dummy samples.
Edited index and search views.
Added investigation form to be able to define studies (bug that auto-assigns studies is pending).
Added delete function to investigations, studies. Added hints to sample view form. Fixed create and edit for taxon, shipments, investigations, studies, material types, ontologies, there was a conflict with the ts_vector column added for the search (only text columns are searchable). Modified isatab and spereadsheets with more fields, modified the isatab parser and the rake file with which we load the data in the database. Added more fields, and the association tables to be fed in the rake. Added fields in the views (like investigations, studies).