Make examples use the released version

Use sphinx.conf.version for the upcoming release
and sphinx.conf.release for the -dev part
In the examples we can use |version| and it will be
substituted (a bit hackish) during build of html,
epub and pdf.

Change-Id: I850de38a52177fc69fa6b6efd1e7e4483e1fc563