Refactoring and addition of some consistency

Some constistency in name where added between Plugin.scala and AstNode.scala.
The method reconstruction a BFS node tree from a NodeBFS list is now
an implicit class.