Added --class-scope flag to limit the analysis to have the scope of class
instead of the whole program the program. The default behavior remains unchanged,
i.e. whole program scope.
Merge branch 'class-scope'.