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/tools/lint/commands.c b/tools/lint/commands.c
index 0030203..0ff821b 100644
--- a/tools/lint/commands.c
+++ b/tools/lint/commands.c
@@ -511,7 +511,7 @@
             fprintf(stderr, "The requested schema node \"%s\" does not exists.\n", target_path);
         }
     } else {
-        ret = lys_print(out, module, format, tree_ll, output_opts);
+        ret = lys_print_module(out, module, format, tree_ll, output_opts);
     }
 
 cleanup: