added the possibility to use the HADOOP_CONF_DIR variable to find the configuration. fixes #255