change LEMP install order

	move mariadb and php-fpm install before nginx
	fix if statement to check if custom built nginx is already installed

On branch centos7
Changes to be committed:

	modified:   scripts/lemp.sh