context CHANGE rename ly_ctx_module_implement() to lys_set_implemented()

Backward compatibility with libyang 1.x, the new name also better fits to
the functionality.
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index 595f637..f3fba16 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -2299,7 +2299,7 @@
             }
             if (!mod->implemented) {
                 /* make the module implemented */
-                ly_ctx_module_implement_internal(ctx->ctx, (struct lys_module*)mod, 2);
+                lys_set_implemented_internal((struct lys_module*)mod, 2);
             }
         } else {
             mod = start_node->module;
@@ -2425,7 +2425,7 @@
             }
             if (!mod->implemented) {
                 /* make the module implemented */
-                ly_ctx_module_implement_internal(ctx->ctx, (struct lys_module*)mod, 2);
+                lys_set_implemented_internal((struct lys_module*)mod, 2);
             }
 
             dst_node = lys_child(dst_node, mod, dst, dst_len, 0, LYS_GETNEXT_NOSTATECHECK);
@@ -2635,7 +2635,7 @@
         }
         if (!mod->implemented) {
             /* make the module implemented */
-            ly_ctx_module_implement_internal(ctx->ctx, (struct lys_module*)mod, 2);
+            lys_set_implemented_internal((struct lys_module*)mod, 2);
         }
 
         node = lys_child(parent, mod, name, name_len, 0, LYS_GETNEXT_NOSTATECHECK);