Python client & remote directory monitoring

I've been a fan of this repo since I started playing with Torch. However, most of my work is in Python so I decided to write a python client. The client is a little sparse at the moment and will just visualize images (not charts/graphs/videos etc). 

In additional to visualizing data/images on the local machine I wanted to use this repo to visualize images automatically generated by models being trained on remote computers. So rather than loading files from .gfx.js/static/data I've made this path configurable. Starting a server using the python client looks like this:

gfx-start [dir] [port]

Where [dir] is the directory to monitor for images and port is the server port.

Often the directories I want to monitor are remote directories mounted via nfs/sshfs. Node's fs.watch  doesn't correctly monitor file changes on remote directories, so I replaced it with the more reliable chokidar (https://github.com/paulmillr/chokidar) for notifications. 

If you guys ever want to visualize models that aren't being trained on the local machine perhaps these modifications will be helpful :)