Implement SQL API for plugin management
See "User guide" on planned API:
https://docs.google.com/document/d/1QMFXWhrSJ9VLFNX-jayHCzG8jk01VwtOuTOzooBBsOA/edit#heading=h.ue9yhktcy3oc
Currently we only implement Lua API for plugin management. The idea is to transpile SQL to existsing Rust API that are used by Lua
Blocked by #665 (closed)
Edited by Дмитрий Кольцов