Fix distributed cache problems + small change with the implicit hadoop configuration

@sangv I had successfully replicated the problem you were having with config.properties not being found on all nodes, and fixed it. I tested this with multiple languages li,bn,ilo simultaneously and it worked fine (it wasn't working before this).