[fixup/theme] Fix theme paths and other related paths in module files

Due to the new extension system some paths to files are no longer correct
and need to be fixed. Additionally, an event listener that allows the
loading of portal.css has been added.

Fixed #118

B3P-118