[example] fix imagenet classification typo
Test that DropoutLayer obeys dropout_ratio.
Merge pull request #839 from jeffdonahue/test-dropout-ratio

Test that DropoutLayer obeys dropout_ratio
Add script to speedtest imagenet (currently broken as FilterNet ignores
Caffe::phase()).
Add tests for phase filtering according to Caffe singleton phase
(currently failing as FilterNet ignores the singleton phase).
Fix speedtest (and possibly other tools) by setting the net phase to the
current Caffe::phase() unless explicitly specified in the state.
Merge pull request #840 from jeffdonahue/fix-net-speedtest

Fix speed test tool (and possibly others); add script to speedtest imagenet
Merge pull request #834 from qipeng/dev

Included cmath in common.hpp to avoid isnan complaints from the xcode co...
Solver switching support & implementation of Nesterov's accelerated gradient and AdaGrad
restored vituals in solver.hpp
converted pointers to shared_ptr
fixed solver constructor in train_net.cpp
improved numerical stability for AdaGrad
bugfixes for AdaGrad
Added L1 regularization support for the weights
fixed caffe.proto after a mistaken rebase
Addressed Yangqing's comments
fixes after rebase