calendar plugin: Autocreate archive pages if needed
Simplifying code

Thanks to review from http://ikiwiki.info/todo/calendar_autocreate/
Clarifying documentation

Thanks to review http://ikiwiki.info/todo/calendar_autocreate/
link
Adding back template information that should not have been removed

sorry...
Added option `calendar_fill_gaps`
Making use of the transient plugin
Update documentation regarding automatic rebuild whenever `calendar_fill_gaps` changes
Calendar pages are now rebuilt when previous or next page have changed
Always produce HTML5 doctype and new attributes, but not new elements

According to caniuse.com, a significant fraction of Web users are
still using Internet Explorer versions that do not support HTML5
sectioning elements. However, claiming we're XHTML 1.0 Strict
means we can't use features invented in the last 12 years, even if
they degrade gracefully in older browsers (like the role and placeholder
attributes).

This means our output is no longer valid according to any particular
DTD. Real browsers and other non-validator user-agents have never
cared about DTD compliance anyway, so I don't think this is a real loss.
Now that we're always using HTML5, <base href> can be relative
Remove now-redundant test-cases for a non-default html5 setting
We no longer have a test for DTD-valid XHTML 1.0, but at least check well-formedness

This means that people can do XSLT nonsense if they want to.

The failures are currently marked TODO because not everything in the
docwiki is in fact well-formed.
Emit vestigial xmlns so people can still pass ikiwiki output through XSLT
Disambiguate myself a bit (like that's needed).
Remove space from perl shebang path.
Added a comment
[patch], patch
Match word boundary (think "/usr/bin/perl5.18").