Bug 834773 - Support image/* and type arrays in pick activity r=dkuo(che...

...rry picked from commit e64428cae922d32fc043cca390c32473963caec6)