Added <perch:if exists="caption>

The <figcaption> element is optional so I wrapped it in a <perch:if> statement in case editors elect not to use it.
Update only-show-a-section-if-content.md
Merge pull request #2 from scottgruber/master

Add <perch:if exists="caption>