Update to add support for separate retention for different repo branches

and maxDate / minDate for automatic cleanup /retention of different branches.