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).