stats: show an informative message when stats are unavailable.
api: directly report exceptions to raven.
stats test: reset sequence numbers, matching expected testdata.