Improve notification spam filter code.

- Follow coding style guidelines
- Replace dialog shown on click by adding the relevant information and
  the delete button to the item itself
- Minor layout tweaks
- Make the empty view more descriptive
- Add license headers

Change-Id: Ic685364087d6a093fdbb6a143a9c6ed78596b62b
Automatic translation import

Change-Id: I1f9fc1e3a15c77fd725c3cae8ab619199cdfe04a
Merge pull request #11 from CyanogenMod/cm-11.0

Update to upstream