archive_aged_records takes before callback

Add a `before_callback` which is to be called before each new batch of records are archived. This allows adding sleep intervals as to avoid overloading the system while archiving.