Move some lib files to lib dir

Make the following changes:

  renamed:    test.py -> debug/test.py
  renamed:    v1_gui.py -> debug/v1_gui.py
  renamed:    main_dialog.py -> gui.py
  new file:   lib/__init__.py
  renamed:    loganalyse.py -> lib/main.py
  renamed:    ucsm_log.py -> lib/ucsm_log_parse.py
  renamed:    gui_main.py -> lib/ui.py

Signed-off-by: Dong Zhu <bluezhudong@gmail.com>