Assign generate_firmware permissions when CGM is enabled.
Started work on generator frontend. See #1134.
Implemented build result view. See #1134.