Use SPECIAL_FORMAT column value in PhotoPicker

Also, add utility method isMotionPhoto() to prepare for UI integration
of special format column.

Ignore GIF badge UI test, as it requires actual GIF file (instead of
just an extension). The test coverage will be re-added in a follow
up change tracked by the same bug.

Bug: 202396821
Test: atest ItemTest
Change-Id: Ia0e697d8ca3d4fb671e1a558dda04a8d7555f7d5
Merged-In: Ia0e697d8ca3d4fb671e1a558dda04a8d7555f7d5
(cherry picked from commit 1ced4d39599972e8e9af05acd4d5078cf2242830)
5 files changed