Update php support

the Directory Iterator method getExtension is supported in 3.5.6 or greater. For a broader range of support, I've switched from getExtension to pathinfo().

Few fixes to readme