Fix imports in UI tests
Use gradle application plugin for REST module, enable debug