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.
Could do; no strong feelings.  I don't see a use case for either of them in particular, I just chose one so that I could test effectively.