Implement custom php.d/ directory for PHP cartridges

Related to https://bugzilla.redhat.com/show_bug.cgi?id=1001400.

[test]