Default threads to hardware concurrency + 1

Also add the ability to configure the number of threads on the command line
Merge pull request #9 from lefticus/master

Default threads to hardware concurrency + 1