pycaffe: allow unspecified mean. Fixes #671.
pycaffe: reorder exceptions

It doesn't make sense to complain about input not being batch-sized if
it isn't even 4-d in the first place.
pycaffe: test channel_order and input_scale against None

An input_scale of zero should produce warnings/errors/infinities rather
than being the same as an input_scale of one. A channel_order of () or 0
should not be equivalent to the default ordering.
Update image_data_layer.cpp

fix bug for getting new width
Merge pull request #805 from alfredtofu/dev

Update image_data_layer.cpp
gflags 2.1 bugfix (or rather a hack).
fixing comment
Merge pull request #733 from longjon/pycaffe-tweaks

pycaffe fixes
lint
Merge pull request #812 from Yangqing/sweep

gflags 2.1 bugfix (or rather a hack).
FIX: tests now catch bug reported in #750 (in HDF5 output layer)
FIX: both data and label now copied correctly in HDF5 output layer
FIX: updating HDF5 input test for new test data
make "all" the default target

"all" is the right default since it builds the library itself.
define "everything" after it.
Merge pull request #813 from sergeyk/dev

Fix for bug in HDF5 Output Layer
[docs] fix missing glog install cd
[docs] install glog first given incompatibility
[docs] compile gflags with -fPIC for linking
add h/w kernel size, stride, and pad for non-square filtering

while keeping everything working as-is.
im2col + convolve non-square filters, padding, and stride