added subdevice to rest api
Merge branch 'master' of github.com:skynetim/skynet