[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
if you plan to add next adagrad or adadelta is this the right API to use a bool?