complete update flows, add GraphAPI support

complete the database logics when updating contacts from different
sources. clear database when logging out. add request for common friend
list via Graph API of Facebook and add database update flow for
commonFriendList attribut.