Add parent node to the emitter
Remove optional parameter

* Every place in the code that visits a node would always have the
  parent in @parent, so there is currently no need to pass it into
  the method.
Fix reek threshold