Fixed potential bug in VariableNode::transcompile

Also now PHP doesn't throw notices here.
Fixed some mistakes in mktag subcompiler

* Undeclared $code variable fixed.
* "use ($mandatory_params)" only included, if the $mandatory_params
  variable will be generated.
* Fixed $outputstack not being initialized correctly.