Merge branch 'vs2012_warnings_static_object'
computeContext: Include version.h
cmake: Define GLEW_STATIC only if we're linking with static GLEW library on Windows
cmake: Use new cmake variables for output directories

CMake distinguishes between runtime files, archives, and libraries. These new
variables supercedes the old ones, and work better for Windows. For example,
Windows DLLs are considered "runtime" and will be placed in the "bin" folder.
cmake: Add "s" to end of static libraries root name Windows

This avoids name conflict with dynamic libraries when compiling with MSVC.
cmake: Link the dynamic OSD library on Windows as well
cmake: Allow examples and regressions to dynamically link with OSD library
common.h: Rename version.h to common.h
osd: Add OSD_API and OSD_TEMPLATE define for exporting symbols on Windows

Clients of the OSD library will need to define OSD_DLL if they want to
dynamically link against the OSD library.
cmake: Add OSD_DLL defines to examples and regressions
osd: Export some classes and methods for Windows DLL

This enables CPU, OpenMP, GLSL, and GLSL TransformFeedback kernels for dynamic
linking on Windows.
osd: Mark std::vector templates for exports

This fixes C4251 warnings.
C4251: 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'

Note: The template instantiation has to be done outside the OpenSubdiv
namespace, otherwise it'll break the build on Linux gcc.

Note: This warning may actually be safe to ignore in the case of std::vector,
because std::vector contains only inline methods, and has no static members.
TEMP: favor dynamic GLEW

TODO: Need a way to decide which one to use.
osd: Mark ptex-related classes for exports
ptexTextureLoader: Change the block vector into block pointers

MSVC fails to compile after exporting ptexTextureLoader as DLL.