Add support for mapred-env.sh

This is necessary for setting things like HADOOP_MAPRED_LOG_DIR on a cluster.