prototypes: fix issues with figures

* captions were placed about some figures; now they are below.
* replaced odd non-rendering quotes in sample ruote code.
* prevented stonepath figures invading the ruote section.
case study 4YS: fix hyperref warnings

hyperref doesn't like hard breaks in section names, so we can just
strongly hint where line breaks should occur instead. This also fixes
a display artifact in the table of contents.