Replace AST node printer with text based source code printer.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Replace AST manipulation with source code rewriting.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>