Adding lifetime pool statistics

This statistics page will hold generic lifetime pool statistics like
user shares, user earnings, blocks found etc.

I seperated it from the regular pool stats since it would get rather
crowded there.

Addresses #377, more to come
fixing identation
going back to NEXT for stats class
Revert "going back to NEXT for stats class"

This reverts commit 394a09fe2e8584f3a462a7adbd08d3f8d1459c25.
properly display own shares