add helper functions to determine if an absolute path or path for executable directory is given. also update end of function to use deconstructPathname().
add helper functions to determine if an absolute path or path for executable directory is given. also update end of function to use deconstructPathname().

simbody/simbody,scamille/simbody,Gjacquenot/simbody,elkingtonmcb/simbody,robojukie/simbody,elkingtonmcb/simbody,simbody/simbody,Gjacquenot/simbody,scamille/simbody,robojukie/simbody,elkingtonmcb/simbody,Gjacquenot/simbody,robojukie/simbody,scamille/simbody