Feature php client

Reworked the PHP client to accept an array of options instead of a slew of optional parameters. Also stops validating arguments before tossing them to the API - this allows for easy expansion of the API without having to add anything to the client.