simplify lineno code add utility to get all scopes, except class scopes
simplify lineno code
add utility to get all scopes, except class scopes

akaihola/PyChecker,akaihola/PyChecker,thomasvs/pychecker,thomasvs/pychecker