Returns long value from ConfigValue by key. For order of flags see getValue.
Long by key if present or default value from param or long default (0L).
Config key.
Default value to return.