Allow user to define custom patterns for connectors

I'm running a Plex instance on a non-standard port. This extension only matches port 32400 for Plex servers. Rather than taking the extension and hard-coding my own pattern, I thought I'd build a more re-usable solution.

In the Options page of the extension, there's an options-button next to every connector. Clicking it opens a Bootstrap modal window with inputs for every pattern defined for this connector. Patterns can be changed, added or removed. These changes are stored in `localStorage`. One can also choose to reset the patterns back to the defaults.

The only issue I have with this solution, is that it requires a browser restart to recognise the changed patterns. I'm not very familiar with developing browser extensions, if someone has an idea to fix this, I'd love to hear it.