Fix bug with global functions taking precedence over test instances.

When a test definition contains a name such as "phpversion", a class named "ZFTool\Diagnostics\Test\PhpVersion" will take precendence over "phpversion()" global function.
Add better output of exceptions with --debug mode enabled.