t: ui: define function import_libs
t: ui: define function import_libs

As we use a script-based Python with modules located usually
relatively to some file we need a way how to import the modules
easily. The function import_libs adds the parent directory to
be used for searching for Python modules. Thus, we can safely
include the rest module directly.

Signed-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>

BeeeOn/server,BeeeOn/server,BeeeOn/server,BeeeOn/server