Update scripts/requirements.*.

Update requirements.sh.
Create php-requirements.php and bash-requirements.sh.

New testing way:
requirements.sh (looks for bash) -> bash-requirements.sh (checks system software) -> php-requirements.php (checks php enviroment).

Update related docs.