Build Simplification and Thread Management Fix

Originally I started out using a Portico style ant build for SysCommon. While this is very powerful it does not support static linking of the output targets, which is the main use case for SysCommon at the moment.

As a result I'm temporarily moving to batch/shell script based compiling because its simple and easy. This has the additional benefits of including Visual Studio projects for the codebase in the main distro which makes the development setup process a bit nicer. Non-windows platforms compile through extremely shell scripts.

Fixed unit tests for the previous namespace/structure changes.
Unicode build now compiles over all platforms
Fixed race condition on the nativeThreadMap that caused currentThread() to occasionally return NULL for a valid thread