Merge pull request #16 from ekr/gtest_fixup2

make gtest-bootstrap will pull down gtest and then make will build the codec-unittest.
Fix issue:#9

update VS2010 and VS2012 project
fix VS build issue: can't find typedefs.h in console project
Merge pull request #18 from ruil2/master

fix VS build issue: can't find typedefs.h in console project
Fix a typo in the public codec API
Merge pull request #19 from mstorsjo/typofix

Fix a typo in the public codec API
Pretty printed the C++ code with astyle
Merge pull request #21 from ethanhugg/astyle

Pretty printed the C++ code with astyle
Added notes in CODING_STYLE
Fix typo in strnlen fallback
Merge pull request #23 from 0x09/master

Fix typo in strnlen fallback
Merge pull request #22 from ethanhugg/astyle

Added notes in CODING_STYLE
Fix typo in Windows build instructions

Directory for encoder Visual Studio projects should read codec/build/win32/enc.
Merge pull request #24 from rmuch/fixes

Fix typo in Windows build instructions
Updated CONTRIBUTORS file
Merge pull request #28 from ethanhugg/master

Updated CONTRIBUTORS file
Convert source files to unix newlines

Most files were converted in ff6b669176, but some (non C++
source files) were left with windows newlines.
Remove trailing whitespace

Most of it was removed in ff6b669176 from C++ source files,
but other files were left unchanged.
Include the platform makefile before adding defines for x86 asm

This fixes building with BUILDTYPE=Release on OS X.
Don't include the MFC header afxres.h in windows resource files

Just include windows.h instead. This allows building using the
Express edition versions of MSVC as well, that don't include MFC.