setting default value for JAVA_HOME using /usr/libexec/java_home

As it stands, the cdh-mr1 formula does not provide a value for java_home. Out of the box experience suffers. I've added a default behavior to the formula that uses /usr/libexec/java_home to determine the value of JAVA_HOME. A custom java location can still be provided by exporting JAVA_HOME explicitly.