Add requesttoken to base template

Potentially fixes https://github.com/owncloud/core/issues/12580
Fix permissions
Add unit test for contactsmanager
Use PHPUnit mocks
Mock interface
Remove config file
translated saved message in files external
Merge pull request #12708 from owncloud/l10nsaved

translated saved message in files external
Merge pull request #12672 from LEDfan/cm-per-unit

Fix Contactsmanager permission + unit test
Merge pull request #12651 from owncloud/add-requesttoken-to-base-template

Add requesttoken to base template
Allow autocomplete for test file in autotest.sh