Small refactor.

 * Added state to PHP_Exporter\Exporter objects.
 * Cleaned up string construction so that it's more obvious what's being built.