Frontend: Fix warnings: s/type=/message_type=/

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Backend: Docimport: Fix value reading from the config

Signed-off-by: Jerome Flesch <jflesch@gmail.com>