Changes to the Paginator.RetryPolicy system to play better with dataflow
Added a Factory interface and several implementations.