support munmap()
mmap support
Fixes JSON building in windows with MSVC 12
Merge pull request #170 from kristopolous/22-JSON-output

Fixes MSVC 12 warnings for JSON implementation
merge master