[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
This implementation will be very slow on sparse data. There are implementation techniques for taking advantage of sparsity (I don't think they work for arbitrary learning rate though).