Add support for the Debug Bar plugin

* Move the dbug class to its own file
* Add a debug panel for dbug
* Move dbug output to the debug bar so the layout doesn't break when dumping out data
* When running a dbug, get the file/line number so you know where dbug output is coming from