Add level and message to sitebase (issue 306)

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.