Simple bash script wrapping rake with locking via pid file in tmp/pids

Adds locking outside of the Rails context to avoid having to load the full context to apply locking.  This should prevent a stacking up of batch ingest cron jobs that brought lancelot down a few times due to the the time necessary to load the Rails environment.