Added DiagnosticsTask

Runs phing's -diagnostics code inside phing itself.