Make the application runner a bit more flexible.

Instead of trying to setup the environment by hand, export the
APP_IMAGE_ROOT environment and run a script in the image
root which is expected to be called AppRunScript.sh

This allows various projects to have better control on how
the environment must be setup for their specific needs.