Possibly fixed LAN discovery on some configurations.
Function for retreiving a list of friend numbers

This should allow clients to sync the Tox friend list with their UI/etc.
lists.
Merge pull request #559 from jin-eld/friendlist

Function for retreiving a list of friend numbers