Fix crash when changing contacts name

Fixes crashes when contact name is being changed but it's not on chats
list. Thank you Conrado967!
Also fix loading contact names from received roster if contact is
available on it (receiving messages before roster initialization
thingy).