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.
Maybe @vanzin's property trick is in order here