Migrated from a single ast.Expression to an ast.Module to favor debugging and Python syntax feature

This works in a way that all output is appended to a list inside a
template rendering context and joined into a single string in the end
before it is returned.
Removed dead code
Started class-based approach
Merge pull request #32 from MarkusH/ast-module

Switched to class-based approach