Pass opts directly to pty.js & add .gitignore

Provides more flexibility and allows to set things such as :
  - env (customize ENV programatically)
  - uid, gid (set user/group at will)

Add .gitignore