Improve logic for using options from global TracIni (fixes #2324):
* The default value from the global config or `db_default` is used even when an explicit default value is supplied.
* Fix some instances where an explicit default value was supplied for `config.get()`.