core: only query preferences database once at start of block_executor.
core: add ability to override config files with environmental variables.

Env variables are named GR_CONF_<SECTION>_<OPTION> where the section is the [<section>] name from the config file and the option is the actual option name, all in upercase.