Initial sync operations (local -> hdfs -> local)

@markhibberd @raronson @charleso 
@raronson It is a long story, but it is far from optimal - but the short answer is that it is how the current RepositoryConfiguration which this is basically a rename of. The change to fix this is a lot larger. @nhibberd Did you write up the correct solution somewhere?