Refactor the frontend assets for InvenioRDM v8
Previously, it wasn't clear why some stuff worked the way it did (looking at you, weird webpack
alias).
This PR aims to clean up the theme module, s.t. we have a cleaner v8-compatible base for migrating to v9.