Issue 260

This has a lot of the study creation in place.  Please review, since it's somewhat large.  Note, you can ignore anything in the "vendor" directories since they are pulled directly from jquery (MIT license).  Also, the JS at the head of create_study.html is all straight from jquery example code (CC0 license, but I attributed anyways for good measure), so you can probably ignore that, too, although I added from line 162 onward.

Where relevant, I marked lines with "TODO" comments (but probably issues should be created); most of these simply depend on the ontology and controlled vocabulary stuff actually getting merged.

Some changes in this PR and a previous PR change the database schema, so make sure to reload it!  I also had to change the EMP loading shell script slightly to reflect those changes.  I'll send out the new version shortly.
Shall I make a single issue that has checkboxes for each thing that depends on ontology/controlled vocab stuff?