[WIP] Implementing Averaged SGD

Working on implementing averaged SGD for both classifier and regressor for #543
Actually now I see that it has moved to the Cython code. Sorry for the noise.