Fixes for deploying Sample, Subsample, and ChemicalAnalyses

* SQL scripts to mimic what `python manage.py syncdb` does
* A transition script to migrate users from the old database table to a Django users table and create GroupAccess objects for samples, subsamples, images, chemical analyses, and grid