app: Don't require Bugsnag if we don't use it

With this commit, we delay any bugsnag-related import errors until we
actually need the bugsnag module (which may be never, depending on the
user's config).
Merge pull request #241 from wking/optional-bugsnag

app: Don't require Bugsnag if we don't use it