DRY code-cleanup and documentation
Merge branch 'translation' of github.com:SUNET/eduid-dashboard into translation