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/
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/pidgin"
REPOSITORY_TYPE = "mercurial"
BRANCH = "default"
LAND_DEST_BRANCH = "default"
LAND_PUSH = False