Implemented elementwise max layer
lint & reduce gradient check stepsize to pass checks
Added contrastive loss layer, associated tests, and a siamese network example using shared weights and the contrastive loss.
Merge pull request #1053 from jeffdonahue/to3i-elem_max_layer

rebase and fixup #688 from @to3i: elementwise max
Fix lmbdb travis with openldap
Merge pull request #1067 from bhack/lmdb

Get lmdb from openldap
restore "red X" build failures in Travis
add -fPIC flag to CMake build
Merge pull request #1051 from jeffdonahue/travis-red-errors

restore "red X" build failures in Travis
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