[pycaffe] add converter for vectors of Nets
[pycaffe] expose SGDSolver.test_nets
add accessor for Solver::iter_

This will be useful in code controlling the solver (from pycaffe, for
example).
[pycaffe] expose SGDSolver.iter
[fix] lint causing travis failures
Update detect.py

This generator causes an error in detect_windows because it is run twice there.
Better store it as a data structure instead.
Merge pull request #1198 from dbbert/patch-1
Back-merge to include #1198
add factory header to caffe hpp
Merge pull request #1196 from longjon/python-solver-improvements

Python solver improvements
Merge pull request #1208 from Yangqing/dev

add factory header to caffe hpp
Add caffe_gpu_exp math function
Add ExpLayer to calculate y = base ^ (scale * x + shift)
[fix] comment typo
save/restore shared weights unit test
Merge pull request #1204 from jeffdonahue/exp-layer

EXP neuron layer
Move data_mean into data_transformer remove datum_* from BaseData

Conflicts:

	src/caffe/layers/memory_data_layer.cpp
Fixed MemoryDataLayer to make it work with pycaffe
Initial cv::Mat transformation

Added cv::Mat transformation to ImageDataLayer

Conflicts:

	src/caffe/layers/image_data_layer.cpp

Added transform Datum to Blob

Conflicts:

	src/caffe/layers/base_data_layer.cpp
	src/caffe/layers/base_data_layer.cu

Added transform cv::Mat to Blob

Added transform Vector<Datum> to Blob

Conflicts:
	src/caffe/data_transformer.cpp
Remove Datum from WindowDataLayer

Conflicts:

	src/caffe/layers/window_data_layer.cpp