Parametrize parallel build.

This introduces a new environment variable, `SPARK_BUILD_THREADS`,
that controls the level of Maven parallelization (if set). This uses
Maven 3's syntax for the number of threads: either a simple integer or
something like `1.5C` to indicate 1.5 times the number of cores on the
build server.