make friendlist resize dynamically
Merge branch 'dynamicfriends' of github.com:lukechampine/ProjectTox-Core into dynamicfriends
remove unused MAX macro