Expose additional smarty tags to get forum stats. Moreover add a special url to provide this data in json (enabled via configuration).