Merge branch 'release/v1_2_3' into dev
Fix bug of incorrect patchParam table splicing.
fix read/write permissions on files
Added an #ifdef around glew.h to avoid a conflict with gl.h in a client code.
limitEval example : add the ability to read regular obj files as a command line argument (usefuly for debugging...)
Fix a bug of patch level computation for non-quad faces.
OsdGlMesh : adding accessors for the FarMesh and the VertexBuffer for Scot
OsdGLDrawRegistry : fixing an OSD error message prefix when program linking fails
fix OsdMash to catch up with some of the 1.2 code refactoring - thanks Sheng for digging this one up.

fixes #178
fix FarPatchTables::GetNumFaces() and FarPatchTables::GetFaceVertices() :

These functions are exclusive to uniformly subdivided topology. With the recent refactoring
of PatchTables and the generalization of topology, uniform meshes only retain the topology
of the highest level of subdivision by default. These functions are now fixed to reflect the
change.
Fix Gregory patches for bad heptagon geo.

Gregory patch shaders rely on a correct estimate of the maximum valence of the vertices in the mesh.

In the current feature adaptive analysis, we stop at level 1, the center vertex of the heptagon is
never traversed, and its high valence is therefore not recorded. The fix is to take advantage of the
first pass and use the number of vertices in the coarse faces to catch those high-sided non-quads that
would generate high valence vertices that may not be revisited in the second pass.
fix limitEval dropping non-quads

FarPatchMap was not creating root-level leaf-nodes in the quad-tree for non-quad faces.

fixes #180
Fix FarVertexEditTablesFactory to partition vertexEdit batch correctly.

fixes #148
correct indentation.
fix example code to work with GLFW 3.0

- fix FindGLFW.cmake to match the new locations

- fix all viewer & examples to build with 3.0, 3.0.1 and 3.0.2

Note : ptxViewer and paintTest do not work with 3.0.1 and 3.0.2 (yet)
fix GLFW problems with ptexViewer and paintTest

GLFW 3.0.1 made the reshape callback explicit. Since we are using it to setup some framebuffers,
we need to call this function ourselves before starting the main-loop.

fixes #181
Partial cleanup of bicubic patch shader source

- Added OSD_ prefix to preprocessor symbols
- Adjusted transition sub-patch parameterization to be
  consistent with non-transition patches
- Unified BSpline shader code
- Removed duplicate Boundary, Corner, and Transition shader source
- Fixed a few discrepancies in the remaining duplicate code paths
Fixed num verts tested for patch frustum culling
fix OSX build to search and use a dynamic Ptex lib instead of static.
fix FarPatchTables class nesting for LLVM-based compilers (Clang / ICC).

fixes #172