Feature enable packager bower related

Attention: This PR includes all changes of [PR 1856](https://github.com/opf/openproject/pull/1856) and some additional changes related to bower. [PR 1856](https://github.com/opf/openproject/pull/1856) should be merged first.