[example] fix example names
[example] change notebook name metadata to avoid conflict

see https://github.com/ipython/ipython/issues/5686
added gflags + bugfixes + rebase on bvlc/caffe
* added gflags requirement in CMake
* fixed a bug that linked some tests into caffe lib
* renamed tools/caffe due to conflicting target names with caffe lib
* rebased onto bvlc/caffe
restore .testbin extension, and move caffe_tool back to "caffe".
(Required as I had to change the tool target names to '.bin' but give
them an OUTPUT_NAME, but the .bin made the test_net tool collide with
the test_net unit test.)
[docs] Update installation docs to include Fedora

- All the instructions mentioned for CentOS/RHEL are also valid for Fedora Linux so add it.
- The package name for atlas is atlas-devel not libatlas-devel for CentOS/RHEL/Fedora so fix it.
- Add 'sudo' prefix to missing places to be consistent with the rest of the document.
- Add instructions for installing python headers in Fedora into the python support section.
- Update Linux installation section to reflect Fedora, refactor a bit.
[docs] include cuDNN in installation and performance reference
Add utility function to convert OpenCV image into Datum and Blob
Generalize the conversions between Blob and OpenCV Mat
Directly copy memory into Datum when image is 1 channel & continuous
Override CV_XADD for OSX and fix test
Fix typo in LRN-expression in docs

This is more consistent with krizhevsky2012, and it seems to be what the code does.
fix directory in finetune pascal example
include WindowDataLayer in data param upgrade
load transform params in window data layer
define up-to-date all-in-one model for pascal finetuning
default backend to lmdb for image conversion and mean computation

lmdb is 10-15% faster than leveldb although it takes ~1.1x the storage.
This is usually irrelevant in prefetching since both are fast enough,
but more important lmdb allows multiple, concurrent reads for training
and evaluation several models on the same data.
fix cifar10 paths so they can be run from caffe root
switch examples to lmdb (except for custom data loaders)
Changed "blas" to "openblas"

The change was made because openblas has to be linked as "-lopenblas" and not "-lblas". This caused an error when compiling.
Fixed param order of cv::Size in cv::resize