moved sendmail path into settings
moved templates path into settings

note that this is only required for testing, as tests' working directory
is currently the naveed package
moved preferences path into settings

similar to templates (cf. f2b300b7032d82364876782d1be2af3dacbcd044),
this is also required for testing only - however, in contrast to
templates, preferences actually change in that context
moved tokens path into settings

same deal as with preferences; cf.
babeb4f913d15f761bdefb10c344fae1590dfda7
moved host configuration into settings

in the process, improved logging