Setup user stats in ember. Fix default /logs routing.

Things are now abstracted a bit, so common functionality between how the
logs stats and user stats is shared (but this could still be cleaned up
a bit).