Rule `no-unused-vars` checks only file globals (fixes #975)

Rule `no-unused-vars` should not check other globals except of `/*globals */`section of file.