[WIP] extracting learning rates to learning_rates.pxd and learning_rates.pyx

This pull request is for #3647
@SnippyHolloW could you take a look at these two descriptions to see if they are relatively accurate?