Make the application version optional in a target release

Added config option {app_dir_vsn,keep|strip}
Default is keep, which is the backward compatible behavior