Modified TAppInfo to support conditional compilation based on the PORTABLE macro:
* Program name and id is different for portable version.
* Data directories and database names are different for portable version.
* Common.config and User.config are located in the same directory.