Merge pull request #32 from mozilla-services/hyperloglog

Add a HyperLogLog library
Fix the Windows build and test

Tested Lua 5.1.5 mingw/VS2013 32/64 bit
Merge branch 'windows_fixes' into json_encoding

Conflicts:
	src/test/test_lua_sandbox.c
Add basic timezone support to %z on Windows