Add a serial.autoconnect setting to connect to the printer on startup
Remove matchesGcode and instead just parse the code once. 29% performance increase
Switch ringbuffer lists for deques. 6% performance boost (4.5% vs baseline)
Remove unused comm logQueue. 18% performance increase (12% vs baseline)
gcodeToEvent can only fire one event per gcode function anyway. <1% performance increase.
Rename gfunc -> gcode
Refactor send command gcode handlers into individual functions. Very little gain if any.
Microoptimization to not build the same string twice
Remove profiling code
Some refactoring (grouping methods, extracting classes, etc)
Merge branch 'devel' into CapnBry-sendperf

Conflicts:
	octoprint/util/__init__.py
Changed gcode regex slightly to be on the safe side (we don't want to accidentally capture comments etc)
Removed matchesGcode again since it's not needed anymore
Merge remote-tracking branch 'CapnBry/autoconnect' into devel
Also provide access to the auto-connect setting in the connection and the settings dialog
Added tab in settings for serial connection options
Only auto-connect if configured port is available at server startup. Also bugfixes.
Fixed typo, better error handling.
Some more cleanups
Reset peakZ on new print