Revert "doc: add note about constants in lua, fix lua example (scripting guide)"

This reverts commit fad848bf7caff763ace7a8b88f06307feca77bac.
lua: remove use of functions for API constants
core: mention unit (minutes) for old option "irc.network.lag_disconnect"