Adding support to partial matching in ShadowIntentFilter.

This patch also fixed the issue with broadcast intents being
delivered solely based on the receiver action. This patch
also filters based on the data type as per spec.

Closes #1162.