Refactored debug module, added all missing docs
Minor cleanup for debug module
Added missing phpdoc for gii classes