Include code examples for integration and functional tests in docs.

Fixes #1001
 @stevepiercy Ah, the [Coding Style](http://docs.pylonsproject.org/en/latest/community/codestyle.html#coding-style) seems to be Python specific (e.g no mention of 79 rule for .rst) - Should it point to [this](http://documentation-style-guide-sphinx.readthedocs.org/en/latest/style-guide.html#line-length) perhaps?