Initial comm protocol gcode hooks
Merge pull request #577 from dattas/feature/comms_code_hooks

Merged PR #577 - Allow plugins that hook into comms

Establishes basics for alternative version to implement #324