Fix rq queuing of jobs. Add more unittests.

Fixed so that launching a harvest should enqueue the run_ingest. Bug fixes and more testing as well.