Made notification compatibility changes.

This requires the use of android.support.v4; it is included as a plugin dependency.