Huge refactoring in UI
Updated the order of directories in which PAKE looks for JSON UI files
--debug option does not really do anything
Preparation to move stuff to pake/shared.py
Merge branch 'ui' into backend
Moved getuipath() to pake/shared.py, getrootpath() is new function in
pake/shared.py
UI now uses pake/shared.py functions