Handle generic JS object serialization in JSPlugin
Add missing include
Move JSPlugin and ScriptPlugin to their own headers
Move JSPlugin implementation to its own file
Add addPlugin method to LinkGenerator
Allow registering C++-plugins from JS, make them usable and use the new api in ScriptLinkGeneratorPlugin