networkDiscovery+xifei: add test_device.js
add device.js in  nodewebkit/lib/api/
fix feedback by jimmie
Merge pull request #187 from xifeiwu/master

networkDiscovery+xifei: add test_device.js->jimmie
fix feedback
mv test_device.js to dir test
fix some comments
fix device.js
Merge pull request #189 from xifeiwu/master

fix feedback for device discovery -> Jimmie