[nobug] Sanitize test classname to appease Hudson

Fixes 2 issues:
* classname containing [#?] leads to invalid links when viewing test results
in Hudson.
* classname containing [.] is interpreted as package segments in Hudson,
making the results hard to read.
need horizontal scrollbar in git commit list when it is very narrow