wap_ldf subtract_example should handle quadratic and cubic features

subtract_example should use GD::foreach_feature, so it handles also quadratic and cubic features

This was broken, now I have loss 0.16 instead of 0.30 on a dataset which uses shared features.