Added detecting unused values

The detection mechanism should be improved, see notes @ src/luacheck/check.lua:92