Make upload_tmp_dir relative application server base directory and set d...

...efault value to var/tmp for UNIX/Windows systems