Added JNA dependencies on hdfs pom for automatically download jars.
Fix small issues around cgroups handling.