When using java config, the call to SimpleFlow#afterPropertiesSet is not called in all cases as noted in BATCH-2291. This commit updates the builder to explicitly make the call, and updates the SimpleFlow to be idempotent for calls to afterPropertiesSet.