Add a factory to produce OneWayUpdate instances based on job state and update settings.

Bugs closed: AURORA-613

Reviewed at https://reviews.apache.org/r/25356/