Fix loading of I18n in plugins from Angular application; Reorganise frontend code

:warning: **Please review and merge opf/openproject#2193 first.**

https://community.openproject.org/work_packages/5697
https://community.openproject.org/work_packages/14679

See also finnlabs/openproject-costs#115