Study editing page

this PR end up being bigger than expected:
- Fixes #499 - The study is now editable. The fields that can be edited depends on the study status.
- Fixes #610 - The patch for the database was already in, this PR modifies the study code so the environmental packages are actually associated with the study. I've created also the issue #641 which is related to this topic.
- The patch 2.sql introduced the timeseries types, but the code was not modified to store the user-selected values. That is done here.
- Changes on the study description page, in order to show more information (most of the information that is introduced on study creation); so it now makes sense to have a edit button (which I used a glyphicon!)
- Some rearranging of the create_study.html (now edit_study.html) code so it is easier to read and it renders nicely.
Bang bang! :boom:

On (Nov-20-14|21:43), josenavas wrote:
> >  
> >          # TODO: set the choices attributes on the environmental_package field
> > -        self.render('create_study.html', user=self.current_user,
> > -                    creation_form=creation_form)
> > +        self.render('edit_study.html', user=self.current_user,
> 
> Yeah, that is actually one thing that is fixing this PR, removed.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/642/files#r20699580