Some config and table changes

Config parser will now correctly parse comma-separated lists. The
returned `settings` object can be saved directly with `settings:save()`.

Added function `table.isarray()`, returns true if table represents an
array (only sequential integer keys, starting from 1).

Leaking globals fixed in `logger.lua`.