Update for libtoxcore-HEAD and add friend request callback

Kinda works