Implemented ::open.
Merge pull request #6 from sshao/implement_pty_open

Implement PTY::open (WIP)