[RC1] few tweeks to install script

Important changes:
- added running-as-root check at the begining of the script
- ant wouldn't work unless JDK is present - ensured
- timezone for `php.ini` is determined from system settings