pidgin/pidgin

When a Contact is added to a Person set the Contact's Person to that Person.

Also fixed a leak in the unit tests that valgrind wasn't seeing for some reason.

Testing Done:
Ran the unittests under valgrind.

Reviewed at https://reviews.imfreedom.org/r/1863/
syntax: glob
.*.swp
.DS_Store
.flatpak-builder
*.pyc
*~
\#*\#
syntax: regexp
^build(.+)?\/
win32-install-dir(\.release)?
po\/pidgin\.pot$
^subprojects\/.+\/