CoralVM-PHP: Restructuring compiler and context managers to allow easier passing of child nodes of AST

Plus a few tweaks to the debug output.