Use custom console handler for stdout

The original cake ConsoleHandler uses fopen('php://stdout') which deep
down uses the C call 'dup' to duplicate stdout. However this can lead
to a worker not returning the shell, e.g.

ssh host .../cake CakeResque.CakeResque start --queue test

would hang without this change.

Fixes kamisama/Cake-Resque#75