Libmonkey: Cosmetic fix to mimetype test

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>
Libmonkey: Add library configuration retrieving functionality

Also write a test for it.

Signed-off-by: Vladimir Cernov <gg.kaspersky@gmail.com>