Add octoprint.comm.protocol.gcode hooks

This is to add the gcode hooks back, so that plugins can act on things found in gcode.