Catch exception during connection to the server

Bug in pecl gearman extension:

https://bugs.php.net/bug.php?id=63041
Enabling the usage of "worker_dir" as array ( PHP Config File )
Preventing E_NOTICE "Undefined index: max_worker_lifetime"
Log file configuration fixed

The log file configuration wasn't working and on closer inspection the correct value wasn't being set
Merge pull request #84 from GarethCarter/patch-1

Log file configuration fixed
Merge pull request #82 from stephandesouza/master

Allow options "worker_dir" as array
Merge pull request #80 from myurasov/patch-2

Catch exception during connection to the server (happens due to the bug in pecl extension)
Merge https://github.com/brianlmoon/GearmanManager