Initial work on CATALINA_HOME detection. WIP.