fix(plugin): opening plugin from url (MIN-307)
We check whether the script url and the url in the script itself match. If not, we will not have the url from inside the script in the hash map hashedPlugins and we will throw an error that the urls do not match.
This will prevent plugins with non-matching urls from being loaded and will prevent an error in which the undefined hash is sent to the backend because the url was not found in the hash map and therefore undefined was sent to the backend in the registerPlugin method.
Closes MIN-307