lots of changes, pick what you like

hey,

i've been using gfx.js finally, and i had to make a ton of changes, and fixes, to get my linux machine accessible on my mac with everything working, some screen buffer overflow fixes, keybindings etc.

one major change is that I made https a default, by using locally generated certs.
I also added the ability to optionally use a non-default ~/.gfx.js/config.json 
i also fixed some key bindings issues, and copy/paste issues, issues with OSX etc.
also, uses the latest tty.js and term.js

This PR is not recommended for merging directly, as i changed some URLs from clementfarabet/gfx.js to soumith/gfx.js for convenience for my own personal use.

pick and merge what you like.
everything works, I am using it a a primary development environment to access and develop on certain remote machines.


S