added Gearman as a dependency
set JAVA_HOME properly while installing Inline::Java; set and validate correct JAVA_HOME on OS X