Import wmflib from operations/puppet

This should really be done via git submodule, but I'm tired of waiting
for that and needed a better version of the php_ini function for some
hhvm cleanup. Imported from state at
43bb05b469e2a0f36bfc964a71e65f6fe93a5052 in operations/puppet.git.

Change-Id: I0069ce1210aeefca1ac45f2a997bcb3e089d4185