* Added windows supports

The original patch was from Dušan Majkić, link: dmajkic/redis@0081a7b

* Added support for HOME and END keys and prevent duplicate consecutive lines,
The original patch was from Dvir Volk, see antirez#21

* Added ctrl-r search for linenoise,
The original patch was from Jalil Karimov, see antirez#29
changed it starting from last line, also added Windows support for ctrl-r

* Added tab search after press ctrl-r

* Added ctrl-l, clear screen support for Windows

* Added ctrl-w, delete previous word support for Windows

* Got rid of some magic numbers
The original patch was from Gerhard R.

NOTE: refreshMultiLine() didn't work on Windows yet. Any one who wants to port it to windows could take some ideas from libuv, see uv_tty_write_bufs() function in src/win/tty.c