Add level and message to sitebase (issue 306)

There's not advantage, that I can think of, it's just the fact that this
and the previous approach are hacks. See also this link:
https://groups.google.com/d/msg/python-tornado/dyl50NO3yzE/QTSXgEgCQhAJ


On (Oct-29-14|16:16), adamrp wrote:
> > @@ -18,19 +18,21 @@
> >      {% block head %}{% end %}
> >    </head>
> >    <body style="padding-top: 65px; height: 100%">
> > -    <!-- try/except to check if we have a loginerror variable -->
> > -    {% try %}
> > -      <!-- if we have a loginerror variable make sure it's not empty -->
> > -      {% if loginerror != '' %}
> > -      <div class="alert alert-danger alert-dismissable">
> > +  {% set level = globals().get('level', '') %}
> 
> I disagree. What's the advantage?  Also note that this was not a "necessary" change, since it recapitulates the same behavior that was implemented previously, but I added it to avoid having to to `try`/`except`; if we would rather use a try/except, I can revert this change.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/biocore/qiita/pull/529/files#r19579503