Better fix for #4284

This commit provides a better fix for #4284 by making `ext/intl` an *optional* dependency, but enforcing its requirement via tests to `extension_loaded` and raising an `ExtensionNotLoadedException` when not found.