change /user/{userId}/device to /device

* because user id is retrieved from authentication
* add query property state to /device
* gui: fix for change in ws (/device)
* gui: change to list only ONLINE device by default