Fixes #10461, Refs #8832: The components tracdiscussion.tags.DiscussionTags and tractags.api.TagSystem must be enabled in order for TagsPlugin support to be enabled. This is a workaround that will likely be improved on in #8832 as the tags module is redesigned.

This enables capturing untranslated messages i.e. for logging.
And msgid's have been cleaned from excessive whitespace and line breaks.
Thanks to Dirk Stöcker for providing inspiring test feedback for these changes.

Found out, that with PostgreSQL db backend neither schema version nor default
permission actions have been inserted after component initialization.
There might be a hidden issue with the test environment setup here, that once
again requires a suspiciously looking workaround, but I'm unable to find it
yet, even more since db code and SQL statements have been straightened a lot
by now, therefor I'm gradually running out of ideas.

Anyway, all unit tests pass with PostgreSQL on Trac-1.0 now, while issues with
older Trac versions remain, as outlined in #9521 before.

I've seen this before, so `AttributeError: 'NoneType' object has no attribute
'fetchall'` was an instant reminder - done better now, squeezing 5 out of 7
issues with PostgreSQL unit tests in Trac-1.0 .

Fixes #9553: Chrome constructor was not being passed the required Environment object, resulting in an error when using the UserProfileList macro. Thanks to ejucovy for the patch. Tested with Trac 1.1.1dev-r11384.