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.
@Biert85 I think returning just array of patterns and merging it with default connector patterns for use on the next line would be better. Connector definitions should stay read-only.

I'd like to always keep the default patterns active (even at the end of the array as the last option), so that when people experiment with custom patterns they never lose the original functionality.