Download files with nginx

@antgonza helped with this one.  Remaining to be done:

~~Get nginx into Travis CI~~ (EDIT: We are deferring this for now, since we don't know what to do at this time)
- [x] Add download links in the GUI where appropriate
- [x] Fix whatever tests are about to fail when I submit this PR
But actually, yes, this is a first-class function actually, good call :)

On Wed, Nov 19, 2014 at 4:24 PM, Daniel T. McDonald <
Daniel.Mcdonald@colorado.edu> wrote:

> I _thought_ that closure was a requirement but could be wrong
>
> On Wed, Nov 19, 2014 at 4:21 PM, adamrp <notifications@github.com> wrote:
>
>> In qiita_db/meta_util.py:
>>
>> > +    that the user has access to, as well as all the mapping files and biom
>> > +    tables associated with the analyses that the user has access to.
>> > +
>> > +    Returns
>> > +    -------
>> > +    set
>> > +        A set of filepath ids
>> > +    """
>> > +    user = User(user_id)
>> > +
>> > +    # First, the studies
>> > +    # There are public, private, and shared studies
>> > +    study_ids = Study.get_public() + user.private_studies + \
>> > +        user.shared_studies
>> > +
>> > +    def _get_study_fpids(constructor, object_id):
>>
>> All functions are first-class in python, I think! [image: :smile:] I'll
>> make it top-level though
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/biocore/qiita/pull/640/files#r20616377>.
>>
>
>