Added virtual environment enforcing for pip for the osx installation tutorial

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