add `version` helper method to `caveats` mini-DSL

As was already done (for convenience) for `title`.

References: #4921 .
Merge pull request #4927 from rolandwalker/caveats_version_helper

add `version` helper method to `caveats` mini-DSL