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.
Actually, after doing a small test, I don't know how to do this; it gives type errors:
```bash
(python276)adam:iter_classmethod$ cat test.py 
```
```python
#!/usr/bin/env python

class TestClass(object):
    @classmethod
    def __iter__(cls):
        for i in range(10):
            yield i


for thing in TestClass:
    print thing
```
```bash
(python276)adam:iter_classmethod$ python test.py 
Traceback (most recent call last):
  File "test.py", line 10, in <module>
    for thing in TestClass:
TypeError: 'type' object is not iterable
(python276)adam:iter_classmethod$ 
```