Factor out mock job

This change factors out the MockJob class in gearman-go. It will be useful for the change I'm doing for the standalone worker wrapper.