port TitleHelper and basically refactoring

add some tests for TitleHelper, but they are not
active because they cause serious problems in combination
with Erfurt_Versioning, Erfurt_Auth, ...

See https://github.com/inspirito/Erfurt/issues/17