Various minor fixes:
- better exceptions for faulty temporary directories
- better exception if client can not connect to JobManager
Add distributed cache to stratosphere
change codestyles and clean up
add test for delete process of tmp file and tested in cluster