Tidied.
Fixed bug#10588 - Search profile names with special characters break functionality.
Merge branch 'master' of git.otrs.com:otrs/otrs
Updated Changes file.
Improved unit test.
Temporarily added debug code.
Improved unit test.
Merge remote-tracking branch 'upstream/master' into otrs-master