add support for non-interactive videolibrary clean to builtins and JSON-RPC