Made php optional

Made php optional by checking if php is installed when installing apache or nginx. Also removed some Trailingspace and empty comment lines from php.sh and Vagrantfile.
Added a PHP check before installing certain scripts
Added composer check for Laravel and Symfony script
Merge pull request #230 from Ilyes512/php-made-optional

Made php optional