Added new DB queries logging into the runtime debug view (?debug=yes) including a 'Total' count in the section title also, implemented a 'Total' count for the 'Loaded classes'. These changes will aid in preformance optimising in 10.1.0. This closes feature request #493 (http://bugs.zpanelcp.com/view.php?id=493)