Initial windows build support

Now builds with python 3.4 and Visual Studio 2010.
Added compat layer to mmap, added castings to supress VS errors.
Windows port running local

Fixed some bugs and now is running all operations with local type.
Must test with ssh.
Tests are broken in windows. Sorry.