Extracted activity stack tracking into public helper class that can be used by activities that cannot inherit from BugsnagActivity