Updated helper definitions to correctly determine number of processors on OS X; Added copyright and functionality to setup_virtualenv.sh