[Android NTP] Move more of the dismissal logic into the tree.

Specifically, add a method getItemDismissalGroup() that unifies
specifying both whether an item can be removed and what other items
should be animated along with it (replacing getItemDismissalSibling()).

The UI-specific logic about whether an item can be dismissed (only non-
peeking cards can be dismissed) stays in the ViewHolder classes.

BUG=616090

Review-Url: https://codereview.chromium.org/2617133002
Cr-Commit-Position: refs/heads/master@{#446338}
diff --git a/chrome/android/java_sources.gni b/chrome/android/java_sources.gni
index 13be379..38f2ca1 100644
--- a/chrome/android/java_sources.gni
+++ b/chrome/android/java_sources.gni
@@ -1542,6 +1542,7 @@
   "junit/src/org/chromium/chrome/browser/ntp/cards/FakeOfflinePageBridge.java",
   "junit/src/org/chromium/chrome/browser/ntp/cards/InnerNodeTest.java",
   "junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java",
+  "junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsCategoryInfoTest.java",
   "junit/src/org/chromium/chrome/browser/ntp/cards/SuggestionsSectionTest.java",
   "junit/src/org/chromium/chrome/browser/ntp/cards/SectionListTest.java",
   "junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java",