update to toggle script

include a small wait time when starting django to ensure that it's ready
to service requests before killing off the old django process.

use the pid file instead of command awking and sedding to find the pid