introduced PagerFactory
added test to MailOverviewCtrl:
- test for appropriate length of scope.mails
- test for valid pager
removed pagination calculation logic from MailResource