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).

This was on a 3 node cluster with 2 workers each on two slaves.