Added Windows port (see #233)

PR to add support for Windows (see #233).

You'll need MinGW to compile and install Readline from [GnuWin32](http://gnuwin32.sourceforge.net/packages/readline.htm) and libmmap from [mman-win32](https://code.google.com/p/mman-win32/). I've also dropped the sockets support because it's really ugly to adapt it to `winsock2.h`.

I've also replaced `tests/run-tests` with a simple Python script so we can run the same script on Linux and Windows.

Please feel free to discuss my changes as I'm pretty new to this kind of projects.