Make trac-post-commit handle putting tickets into the correct "resolved" state based on configureable workflow. Also added newer better git_post_receive that wont post patches moved from one branch to another a second time. fix #8234

An optional i18n implementation with backwards-compatibility to Trac 0.11
could be done, and much more elegant using a dedicated translation method
for Trac plugins from trac.util.dist, correcting [8264] once more.

Further improvements to handle issues with non-ASCII day and month names,
that appear i.e. when locale has been set to ru_RU.UTF8,
and Russian translation came from Boris Savelev too.
Bumping version on trunk branch.

Reorganized repository tree with trunk and branches directories. branches/0.12 has been copied from 0.11 @ r8058. It will be patched with changes from the 0.12 branch from r8059 to r8160, and then the trunk will be merged. Refs #8263.

I've extended the changes suggested by David A. Riggs with i18n markup
and will require future doc-strings to be translatable before adding
them to the AcctMgr source.
There's no sane way to force the same on IPasswordStore's provided asexternal plugin, but I'm asking very kindly to follow that policy.

While this is quite simple, improvements towards a cleaner UI are always
a good thing. Login page CSS style had to go into an own file to separate it
and especially prevent rather unique settings like background color from
being applied to other pages too.
I've even prepared, but not finished yet moving 'Register' link next to
the 'Forgot password' link, if AcctMgr's LoginModule is enabled.

Verify permission with req.perm.has_permission since it correctly passes the PermissionCache object to check_permission. This fixes an error that occurred when using the PrivateTicketsPlugin because the check_permission method in that plugin doesn't check that the expected PermissionCache object might be a NoneType. Fixes #5825, #5826.