Adjust paths to support non-root base hrefs
The app can now be deployed to subfolders.
Besides asset paths, generation for QR codes has been adjusted for non-root base hrefs. This also slightly refactors URL building logic so non-https URLs are handled correctly and moved some logic could be moved from the template to the component.