Various minor fixes:
- better exceptions for faulty temporary directories
- better exception if client can not connect to JobManager
- use maven-enforcer plugin to enforce at least Java 7 for compiling.