[WIP] Fix #42 - refactor ZFTool to use ZendDiagnostics

Just a couple of tasks left. See #42.