Migrate photo contact to app obj

For issue #1177
test_add_photo_to_contact.py contains references to the gallery app. Migrated the test so we can use the gallery app object and the system app object.

v1-train -> Merge.
master -> Test and merge.