SPARK-4375. no longer require -Pscala-2.10 and place external modules behind profiles

It seems like the winds might have moved away from this approach, but wanted to post the PR anyway because I got it working and to show what it would look like.
I think unfortunately we need to remove this dependency for scala 2.11 since it doesn't exist - so this current approach might not work.