Simplify build process

- 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
- Also fixed unit tests for the previous namespace/structure changes
Updated .gitignore for visual studio files
Corrected scripts/ entry in .gitignore
Build files vc8/vc10
Build update for MacOSX

- Added shell script to build static libraries
- Fixed UNICODE error in Platform.cpp
Improved compile shell script for OSX
Implemented simplified build system in 64-bit linux

- Added scripts for compiling static libs and test code
- Fixed race condition on the nativeThreadMap that caused currentThread()
  to occasionally return NULL for a valid thread
- Added missing include statements to satisfy the stricter compiling environment
  under CentOS
Implemented simplified build for linux 32
Finalised MacOSX changes to simplified build system
Merge pull request #1 from michaelrfraser/simplifyBuild

Build Simplification and Thread Management Fix