Cleanup error codes in dialects.
Fixed php 5.3 errors.
Merge branch 'master' of github.com:letsdrink/ouzo