Use V2 Java classes if hadoop version >= 2.0.0
Fixed hadoop classpath for mrv2
Changed YARN_APP_CONTAINER_LOG_DIR to a default value when the property YARN_APP_CONTAINER_LOG_DIR is not available (tipically with CDHv4)
Test submit_mrv2 only if hadoop version is >= 2.0.0 and not YARN.