CRUNCH-366: Flex between Scala 2.9 and 2.10 using profiles. Contributed by Sean Griffin.

Signed-off-by: Josh Wills <jwills@apache.org>