Fix several usrloc named flag issues

- fix get_all_db_ucontacts() lookup logic to work with named flags
- fix "Cflags" row of MI *ul_dump* command
- fix DB contact update function to properly store the flags