allow users to specify number of threads for processing

Allow users to specify the number of threads used for processing in the CLI, ant task, and Maven mojo.  (See Issue #63.)