[WIP][SPARK-4844][MLLIB]SGD should support custom sampling.

JIRA: [SPARK-484](https://issues.apache.org/jira/browse/SPARK-4844)