remove VariableUsages class and inline those method in ScopeAnalysis
Functors got out from anonymous namespace and copy-paste clones died.