Adding new functions for random forests, plus documentation.
Added function to return # of cores for doMC to use, but only half the cores
if the OS is Darwin, with a dev = Boolean argument to control.

Ensures that on an EC2 cluster, all available cores are used, and on a dev laptop
in OS X, only half the cores are used.