Add support for parent process middlewares.

This is useful when your middleware needs to maintain in-memory state between jobs.
Pass the job result back to the parent process middleware.

This allows it to have conditional logic based on the result
of the job.
Add middlewares for tracking metriks.
Merge pull request #126 from seomoz/add_parent_process_middleware

Add parent process middleware