! move stats functions to the appropriate sub files

Signed-off-by: Spuds <spuds@spudsdesign.com>
! add group stat function to membergroups, convert calls in that function to use it

Signed-off-by: Spuds <spuds@spudsdesign.com>
! move member stats function to member subs, convert internal calls to it as well

Signed-off-by: Spuds <spuds@spudsdesign.com>
! move message stats function to message subs, convert internal calls

Signed-off-by: Spuds <spuds@spudsdesign.com>
! move topic stats functions to topic subs, convert internal calls to it as well

Signed-off-by: Spuds <spuds@spudsdesign.com>
! travis is smart, spuds is not ... return the result of the query so we can use it

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #984 from Spuds/stats

reworking updateStats()