CommitDetailsAdapter: Fix NPE

Fix a possible NPE when collapsing a group in the change
 details if the contextual action bar is not visible.
Remove some unused files

Change-Id: I844760c78a74dd6110a46b735bad727b58984f5d