Change imports to use absolute paths
[WebUI] Replace func_globals with __globals__ for Py3 compat
[WebUI] Add reduce import for Py3 compat
[Plugins] Fix relative imports to use dot notation
Remove gtkui specific func from path_chooser_common
[Tests] Replace module import with sys.modules