Rename HasVisitor to HasSymbolVisitor

Because the current implementation only looks for symbols. Later we might also
implement general expressions via a new visitor class.