Add nocache link support for first and last URLs.

"Nocache" parameterized URLs were already supported for
random_webcomic_link, random_webcomic_storyline_link, and
random_webcomic_character_link. This expands support for parameterized
URLs to the first_ and last_ versions of those template tags.
Ensure nocache URLs work with shortcodes and widgets.