[WIP][SPARK-1486][MLlib] Multi Model Training with Gradient Descent

**Note: This is still a work in progress**

This is the first of the pull requests to support multi-model training in MLlib. It batches examples and trains multiple models with different regularization parameters and step sizes all at once using Matrix-Matrix multiplication. It uses Native BLAS when the data matrix is dense, and uses sparse matrices as much as possible for both better memory utilization and performance (I will post performance results in the comments).

This is a HUGE Pull Request, therefore I'm posting this now. It is not finished, docs need to be updated, code can be somewhat cleaned up for ease of understanding. I'm posting this now so that users can comment and make suggestions along the way.

Most of the PR consists of adding additional Local Matrix operations for the calculation of gradients and losses.
Is this doing extra cumulative sums where it should not?  E.g., if the colPtrs were:
matrix A: [0, 2, 4] (i.e., 2 cols with 2 elements each)
matrix B: [0, 3, 6] (2 cols with 3 elements each)
Wouldn't the new ones be incorrect?
[0, 2, 2+4, 2+4+3, 2+4+3+6]
The sums should just use the last elements of each matrix's colPtrs, right?