NEW Write PHP code for later inclusion

Useful for out-of-process stubs with Behat+Selenium
Merge pull request #3 from chillu/pulls/stub-code-writer

NEW Write PHP code for later inclusion