Put old work package loading code into separate method.
Merge branch 'feature/angular-api-work-package-loading' of github.com:opf/openproject into feature/angular-api-work-package-loading