fix memory crash but muxer still not woring
test case for Dan's bug, and more muxer work
Demux/Remux C++ unit test passes valgrind and visual inspection.
windows build fixed and java test for muxing