Initial PHP commit.

Most of the PHP implementation. Including sample code for using all of the classes.