Core: Remove leftover Windows 32-bit functions in MemArena.cpp
OGL: Fix brace and body placements

Also got rid of void argument specifiers. These are a carryover from C.
OGL: Clean up parameters for some functions.
OGL: Add static to a function in NativeVertexFormat
Common: Get rid of StdConditionVariable, StdMutex, and StdThread.

All of the compilers we support have support for these now.
Common: Add Flag.h to the Visual Studio project.
Merge pull request #796 from lioncash/threading

Common: Get rid of StdConditionVariable, StdMutex, and StdThread.
Remove a couple unneeded includes from Movie.cpp.
OGL: Removed some unnecessary preprocessor directives from Render.cpp.

scrshotThread was also unused so that is removed as well.

Also added the algorithm header, since we use min and max here.
Merge pull request #819 from lioncash/preproc

OGL: Removed some unnecessary preprocessor directives from Render.cpp.
Debugger: fix JIT block viewer PPC view

The JIT block compare code didn't set the same options for the PPCAnalyzer
as the actual JIT did, which made the PPC side of the JIT block viewer stop
at the first branch instead of the end of the block.
Merge pull request #821 from FioraAeterna/fixjitcompare

Debugger: fix JIT block viewer PPC view
Merge pull request #771 from lioncash/32bit-cruft

Core: Remove leftover Windows 32-bit functions in MemArena.cpp
Get rid of instances of "using namespace std;" in the project
Merge pull request #767 from lioncash/namespaces

Get rid of instances of "using namespace std;" in the project
Merge pull request #820 from RachelBryk/movie-includes

Remove a couple unneeded includes from Movie.cpp.
JIT: flush *after* the merged branch, not before

More correct and should avoid lots of redundant stores.
Merge pull request #822 from FioraAeterna/integerflush2

JIT: flush *after* the merged branch, not before
Fixed depth matrix shaders in OpenGL and Direct3D to be more precise. Fixes some graphical glitches in some games.
x64Emitter: refactor to support longer opcodes

Also add some new SSE4 opcodes.