Verify the application ID of the uploaded flatpak
Perform a basic validation of the file header of the Flatpak bundle and get the ref of the bundle from the serialized GVariant array.
The code to parse the Flatpak bundle is a bit hacky, but I didn't feel like messing around with a Python binding of GLib.