First version of Calypso Stats

The UI still need to be refined, but major features are all there. 
We want to start testing new Stats for real asap, and meanwhile refine stats UI with smaller PRs.
I added a null check there, even if I think is not required. We have the code running in production and doesn't seem to produce NPE.