Allows tab counter to increment on hidden tabs

This makes the pseudo-index of a tab more reliable when several tabs
have conditional ``show`` specifications.
Moves rendering of tab content to on-show

Tab content is not guaranteed to be fully valid if it needs to be
excluded from the rendering process.  Filters or tags inside of the tab
panel might create noisy errors that aren't easily dealt with.