Utilities for PHP.

I'm always copying these functions around, so let's put them in a
standard library that we can use in different projects.
More utility functions.
Fixed extra paren that was causing syntax error.
Merge remote-tracking branch 'github/master'
Made our php-utils library work with composer.

I want to use it in some other composer projects.