add device sharing gui

* add DELETE /device/{id}/share/{id}
* fix nullpointer in GET /device
* fix nullpointer getUserByName()
* add PU /device/{deviceId}/share
* fix Device entity filed names in database