Refactored Friends, Groups, and Messages

Friend and Group objects now hold their messages. Singleton only has to
worry about holding the friends and groups now, and not parallel arrays
of friends and messages. Next up: holding friend/group objects in
dictionaries instead of an array.
Update toxcore