Prefilling for template done and edit mostly done

I'm resonably sure that templating is done, but I have to ask about if
they want the templates to include vials and genetic information. I
doubt it, as i'm petty sure they will always be different

I still need to to get loading of vials working, and of course editing
tself
Preloading of vials completed.

I believe create.php is fully functional, aside from image upload.
edt.php seems to pull all of the data into the forms, but it can't edit
yet.
Sample editing mostly works now

updating DNA/RNA doesn't work yet, mostly because I'm going to have to
completely redo how mu code work wth the DNARNA table.

Also enabled locking of Sample ID and both parts of the culture ID. I
don't think it's likely that they will be changing those often, except
for typos
add maxlength to forms, ID's now locked in html
Merge pull request #65 from Align/Graham_march_14_1

Graham march 14 1