add AnalyzedRelation interface and RelationVisitor

Used in the Planner and InsertFromQuery case to do dispatching to
SelectAnalyzedStatement.

For now the AnalyzedRelation is just a marker interface until more Relations
are added.