Added contrastive loss layer, associated tests, and a siamese network example using shared weights and the contrastive loss.
Add ppa for gflag and glog
Update CUDA to version 6.5 in the Travis install script
fix out-of-date next ID comment for SolverParameter
fix spelling error in caffe.proto
Fix comments
Fix a little typo
Merge pull request #1076 from kloudkl/cuda-6.5

Update CUDA to version 6.5 in the Travis install script
Merge pull request #1077 from bhack/glog_ppa

Add ppa for gflag and glog
fix caffe train GPU initialization

Previously, the solver constructed nets before the caffe train tool read
the --gpu flag, which can cause errors due to LayerSetUp executing on
the wrong device (breaking cuDNN, for example).
Merge pull request #1083 from longjon/fix-solver-gpu-init

Fix solver GPU initialization order (e.g., training with cuDNN on non-default device)
[example] update paths in net surgery
[fix] snapshot model weights as .caffemodel, solver state as .solverstate
set up datum size for WindowDataLayer
Merge pull request #1091 from ronghanghu/fix_window_data_layer

set up datum size for WindowDataLayer
Merge pull request #1088 from shelhamer/fix-solverstate-filename

Fix snapshot filename for solver states
[Bugfix] Move error checking closer to file read

Previously, if (height > 0 && width > 0) was true, the
cv::resize() function would be called before cv_img_origin was
confirmed valid; if the image file/filename was not valid, this
caused an opencv assert error like this:

terminate called after throwing an instance of 'cv::Exception'
  what():  /tmp/A3p0_4200_32550/batserve/A3p0/glnxa64/OpenCV/modules/imgproc/src/imgwarp.cpp:1725: error: (-215)
  ssize.area() > 0 in function resize
Merge pull request #1093 from CellScope/io-cant-load-error-msg

[fix] Move file reading error checking closer to actual file read command
Update readme.md files of cifar10 and mnist examples. Fixed broken links.
Updated mnist/readme.md file with additional information.