Added consumes and produces to php templates.
Merge pull request #151 from yanoosh/accepts-header

Added consumes and produces to php templates.