Configure dashboard notification limits

Provides a configurable way to limit the number of notifications displayed on the dashboard, with a link to all notifications if that number is exceeded.  Fixes #537 
Yes, it is an AR::Relation.