Added a {version-index} helper

This value is set to the index (base 1) of the view's current version.  This allows the designer to do version-specific things (e.g. an image src of header{version-index}.jpg) without requiring them to use the names of the versions.