Revised existing code for login tracking and related account locks, added
more code for fresh account banning feature and did a major template
reorganization and clean-up of Genshi XML Template directives as well.

While its fine to by-pass the rather new Python doc-string extraction, that
requires a recent Trac, the 'doc' attribute is still new and not guaranteed
to be present in all IAccountRegistrationInspector implementations.

This has been reported specifically by slav0nic fortracspamfilter.accountadapter.RegistrationFilterAdapter, the pioneer
implementation of that interface outside AccountManagerPlugin.
So it seems sensible to do both, consequently extend the interface definition
and implement a fallback for the early adopter.

Added some more unit tests, to ensure that the fallback works as expected.
While at it, one of the ExtensionOrder methods go a more intuitive name.