Add hidden Eclipse files to .gitignore.
Lower PHP minimum version

Removes the SplFileInfo::getExtension call in favour of a method that
can use a lesser version of PHP.
Changed the preflight PHP version check to 5.3.1 (same minimum as the
Joomla Platform).