[webui] Some fixes for the patchinfo-editor

- Fixed redirection-error with Update patchinfo from sources
- Fixed autosearch for packagers
- Fixed javascript to enable-/disable block-reasons
- Removed trailing whitespaces from the last commit