The doWork() method must be public.

This is the method registered with the GearmanWorker. It must be public
for the other class to see it.
Merge pull request #11 from gauthierm/fix-do-work-scope

The doWork() method must be public.