Rework Templatedossier listing tests.
Limit query depth in templatedossier listings(documents, trash).

In some GEVER installations it will be allowed to nest the templatedossiers.
Rework complete templatedossier functionality:

* Move the files in to a subdirectory
* Split them up in to separate files
* Rework the tests (using ftw.testbrowser)
* Pep8
* Pyflakes
Templatedossier: cleanup the types.xml.

* Drop no longer existing Mail behavior.
* Fixed copy&paste fail.
Allow nested Templatedossiers.

This change should not be a probleme for existing installations, because
adding templatedossiers is protected by a separate permission, which only
the `Manager` Role owns.
Setup: Activate navigation portlet on the templatedossier.

The templatedossier could now be nested, so it makes sense to
replace the `repository-treeportlet` with a locall navigationportlet.
Merge pull request #249 from 4teamwork/pg_nested_templatedossiers

Allow Nested Templatedossiers.
Passing search string from live search to advanced search.
Using SearchableText from the url as default value in advanced search.
Removed unnecessary super call in advanced search.
The render method of advanced search had two super calls.
Merge pull request #248 from 4teamwork/lk_fix_advanced_search_autofill

Fixed bug where advanced search didn't use search text from get parameter
Styled document from template form.
Merge pull request #247 from 4teamwork/lk_style_add_from_template

Styling des Dokument aus Vorlage verbessern
Added missing french (and german) translations.
Fixed i18n domain and translated vdex.
Merge pull request #245 from 4teamwork/lk_more_translationes_by_anthenien

Added missing french (and german) translations.
Dossierdetails PDF: Fixed UnicodeEncodeError in responsible getter.
Dossierdetails PDF: Fixed doubled encoded repository_path.
Merge pull request #251 from 4teamwork/pg_dossierdetails_fixes

Fixes some issues in the Dossierdetails PDF generator.
Added handling for missing document_type in document view.
This field is hidden on a customer installation.
Merge pull request #252 from 4teamwork/lk_handle_missing_document_type

Added handling for missing document_type in document view.