Gallery2-Add Presentation judgement in State Equel

In filtershow state equel judgement, there is only one condition of Filter Class
There should be another three conditions of FilterFxRepresentation,
FilterImageBorderRepresentation and FilterColorBorderRepresentation

CRs-fixed: 624591

Change-Id: I19f93d7bbaeb69048698c804eb50712581d87fd1
Gallery2: Fix gallery crash when view gif pic in Mms

When use data uri of file from fileExplorer to view gif picture,
the activity can not be found.

Add type to the intent of ViewGifActivity to make the Activity
can be found successfully.

CRs-fixed: 636457

Change-Id: I123c3551dc394d099e03713cd415ed008b716453