relaxed timer test requirements
Update image_data_layer.cpp

fix bug for getting new width
Merge pull request #807 from qipeng/dev

relaxed timer test requirements
Merge pull request #805 from alfredtofu/dev

Update image_data_layer.cpp
Add NetState message with phase, level, stage; NetStateRule message with
filtering rules for Layers.
Incorporate NetState{,Rule} into Solver/Net.  Net::FilterParam
includes/excludes layers based on whether the NetState meets each
layer's NetStateRule(s).
Add INPUT layer so deploy nets can be incorporated as well.
Use unified train/test nets in examples.