Inject GCODE at specified layers to allow multi color printing

Inject GCODE at specified layers to allow multi color printing based on a regular expression

Note: Currently only compatible with the development version of OctoPrint (1.3.0dev, devel branch).