Email aggregation follow-up

 * Fixing oae-rest to the emailaggregation branch to get a successful build on travis
 * Added a testcase for daily forward rollovers
 * Allow specifying of nr of buckets when getting a number
 * Bounding config.mail.pollingFrequency
 * Various minor cleanup