SONARJAVA-478  Migrate secondPass to AST

Deprecate some method in SemanticModel.
Migrate  superclass resolution to AST
Migrate interfaces resolution to AST
Migrate method symbol resolution to AST