Modified ASTBuilder to support the generation of multiple ASTs.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>