improved numerical stability for AdaGrad
Merge branch 'solvers' of github.com:qipeng/caffe into solvers

Conflicts:
	src/caffe/solver.cpp