Added virtual environment enforcing for pip for the osx installation tutorial

This is in reference to issue #335. Added a section about configuring pip so that it only installs packages when a virtual environment is active.