Add Notification#commit_count

The wall display was suffering from a rather nasty n+1 query.
Because notifications regularly want to know the number of commits
they have, just have a counter that is calculated in
Notification.create_from_payload.