Support refactor of plugin system

Corresponds to https://github.com/neovim/neovim/pull/1454