WIP

Fix AST node hierarchy mistakes

* Command, QueryCommand and FromClause classes should be abstract

* AlterProcedure, because of its generic class declaration must be split
  into versions and an abstract class used