Fix various compiler warnings in mmdblookup.c
Fix "sed" typo in configure.ac
Fix compiler warnings in test files
Sort and align each group of config directives

Add "sp_compare = force"
Add UNUSED macro to mark unused parameters
A few more uncrustify tweaks