[WIP][SPARK-1776] Have Spark's SBT build read dependencies from Maven.

This is still a WIP, since I had like to spend some more time on it and implement a few more things and have cleaner way of doing what it does now.