Update ceres to current upstream version

Brings fixes for BLAS.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55908 954f8c5b-7b00-dc11-b283-0030488c597c
Bundle adjustment improvements

- Get rid of rotation matrix parameterization,
  use angle-axis instead.

  Also Joined rotation and translation into a
  single parameter block.

  This made minimization go significantly faster,
  like 1.3x times in average.

- Fix first camera when bundling. This is to
  address orientation ambiguity.

  Reconstruction result could still vary in
  size, but that's another issue to be addressed
  later.

Additional change:

Split EuclideanBundleCommonIntrinsics into
smaller functions, so it's now a bit easier
to follow.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55909 954f8c5b-7b00-dc11-b283-0030488c597c