Allow plugins to not have an init script
Fixes https://github.com/godotengine/godot/issues/29356, it seems to work perfectly in my testing.
Most of the diffs are indentation changes, it's mostly just adding an if statement, but I also renamed "path" to "script_path", and added some comments.