Fix order of imports in study_handlers.py
Add download handler
Add download button to study_description.html
Merge branch 'master' of https://github.com/biocore/qiita into download_files-533
change pass to min 8 chars in javascript
validate pass before changing. Fix #629
centralize dual password validation
change pages to use centralized javascript
move document.ready to be page specific
fix tests to reflect changes
This configuration works

Just committing here because this is a basic working configuration for nginx
and tornado handlers.  this is NOT ready for production, but I wanted to keep
track of this, because i have proven to myself that this does work.
merge upstream/master
add message for incorrect old password
Add headers to download rather than display file
Add new "meta_util.py" file

This is to avoid circular imports. Basically, we need two utility files:
1) One that the ORM objects can import from, but which does NOT import any
ORM objects; and
2) One that imports the ORM objects, but the ORM objects do not import from
Add all_associated_filepaths prop for analysis
Return filepath_id in BaseData.get_filepaths
Minor reformat so it's easier to see inserted rows
Add utility to get relative path from filepath_id
Add access rights check to download