OVT-7637: Enable scandic letters and spaces

When searching codes for relation. Refactored old functionality from
codesTree into its own service.