Fixed wrong display of path values in the table dialog
Cleans the user provided root category string

The user provided root category string given in the extract view is
reformated to be consistent with the format Wikipedia uses. This makes
the format of the root category title consistent with the other category
titles.
Refactoring of the extract dialog