Fixes for the AST generator.

Fixed problem arising in Python 3.4 due to the elimination of
__qualname__ field from class instances. Also added a new option to
the node fields allowing them to be wrapped in the Optional class
from Googles guava library. This also introduces a dependency in the
generated code.