Updated Documentation
Fixed notices

Fixed notices in Debug class.
Added nested #each to templating