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.
Can we update the building documentation to have a section like "Building examples and external modules" That explains this?