[Feature] It is now possible to access the index of a card from within
the card's template. This is accessible via the $index property of the
card reference like {{card.$index}}.