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)
Merge pull request #1128 from shelhamer/default-db-lmdb

default to lmdb for database storage
adds a parameter to the LRN layer (denoted as "k" in  [Krizhevsky et al., NIPS 2012])
added support for "k" LRN parameter to upgrade_proto
added matcaffe_demo for the VGG models (RGB input)
added comments to the Matlab demo script
added example usage to the Matlab script
RGB -> BGR in the matlab demo
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.
added a Matlab demo with mean BGR pixel subtraction instead of the mean image subtraction
Fixed param order of cv::Size in cv::resize
Merge pull request #1152 from sguada/fix_cv_size_order

Fix param order of cv::Size in cv::resize
Back-merge

  Fixed param order of cv::Size in cv::resize
  switch examples to lmdb (except for custom data loaders)
  fix cifar10 paths so they can be run from caffe root
  default backend to lmdb for image conversion and mean computation
Merge pull request #1138 from ksimonyan/vgg_models_support

VGG models support
Merge pull request #1147 from savy-91/patch-1

Changed "blas" to "openblas"
Removed unnecessary "mutable"
Random crop bugfix and abstracting random number generation inside data_transformer
Merge pull request #1157 from ducha-aiki/fix-extract-features

Small fix in extract_features