added correct check for gd and check for php-intl
remove hard php-intl requirement
Merge pull request #2813 from owncloud/improve-lib-check

added correct check for gd and check for php-intl