Allow ElectronIDE to be accessed from browser on remote host

index.html assumes the browser and node server are on the same host
This change allows the server to be accessed from a remote host

Signed-off-by: Dan O'Donovan <dan@emutex.com>
fixed broken upload.
added support for user libs. https://github.com/joshmarinacci/ElectronIDE/issues/28
added a bunch of timeouts to prevent crashes on mac when uploading while serial console is open
improve declaration matcher to handle more cases
Merge pull request #32 from Dan-Emutex/master

Allow ElectronIDE to be accessed from browser on remote host
fixed detection of windows platform
updated mockup with new treeview