Quick Fixes for PHP Cookbook

* Remove php closing tag along with trailing whitespace which may cause premature output by certain PHP configurations.
* Declare $stack_name class variable
* Fix typo in php::configure debug message
this line should be there right?  Can you please fix this.

After that I'll merge your PR ( https://github.com/aws/opsworks-cookbooks/pull/176 )