Finished implimenting events in debugging tools

- Added DebugEvent class to the commit
- Added output support for DebugEvents in DebugTools class and
  debugLog.html
- Added frameCount to _Process class