fix for relative path of phoenix_jar_path and log4j.properties

We have to execute the shell scripts under the bin folder.

This patch enables  execute the shell scripts outside of the bin folder.