printers FEATURE submodule print

Also some refactorization included,
which consists mostly of removing
compiled import structure as it is
not needed in a compiled module and
is not even really viable because
of submodules.
diff --git a/tests/utests/test_context.c b/tests/utests/test_context.c
index 9cb43ff..2616510 100644
--- a/tests/utests/test_context.c
+++ b/tests/utests/test_context.c
@@ -380,7 +380,7 @@
     assert_int_equal(1, mod1->implemented);
     assert_int_equal(LY_SUCCESS, lys_parse_mem(ctx, "module b {namespace urn:b;prefix b;import a {prefix a;}}",
                                                LYS_IN_YANG, &mod2));
-    import = mod2->compiled->imports[0].module;
+    import = mod2->parsed->imports[0].module;
     assert_int_equal(2, import->latest_revision);
     assert_int_equal(0, mod1->latest_revision);
     assert_ptr_not_equal(mod1, import);
@@ -399,7 +399,7 @@
     assert_int_equal(1, mod1->implemented);
     assert_int_equal(LY_SUCCESS, lys_parse_mem(ctx, "module b {namespace urn:b;prefix b;import a {prefix a;}}",
                                                LYS_IN_YANG, &mod2));
-    import = mod2->compiled->imports[0].module;
+    import = mod2->parsed->imports[0].module;
     assert_ptr_equal(mod1, import);
     assert_int_equal(2, import->latest_revision);
     assert_int_equal(1, import->implemented);