Wrap the analyzer's AstFactory class.

Provide our own API for constructing AST nodes rather than using the
analyzer's AstFactory from testing/ast_factory.dart.  Under the hood
it still uses the analyzer's AstFactory but it should be possible to
provide a direct implementation in terms of the AstNode constructors.