add scope support

warning: context.getScope differs from eslint in that it is
parameterised by an AST node
add no-unused-vars rule