Lower minimum PHP 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).

Fixes #10