Use study status properly

This blocks the attachment of raw data to the study until after the study metadata is approved. It also adds two buttons for admins to approve a study and to make a study public.

This finishes #476 
Yes, and the only way these can be modified is if they contact an admin.

On (Nov-14-14|14:13), Joshua Shorenstein wrote:
> > @@ -33,7 +34,17 @@
> >         'study_alias': 'Myrold_Alder_Fir',
> >         'most_recent_contact': None, 'lab_person_id': None, -->
> >      </td>
> > -    <td width="60px">
> > +    <td>
> > +      {% if study_status == 'sandbox' and ste and qiita_config.require_approval %}
> > +        <a class="btn btn-primary" onClick="request_approval();">Request Study Approval</a>
> > +      {% end %}
> > +      {% if (user_level == 'admin' and study_status == 'awaiting_approval') or not qiita_config.require_approval %}
> > +        <a class="btn btn-primary" onClick="approve_study();">Approve Study</a>
> > +      {% elif (user_level == 'admin' and study_status == 'private') %}
> 
> So are we going to then assume that private studies are also immutable for data like public studies are?
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/569/files#r20390605