Add license and constructor to grblstate files

Add to grblstate.cpp and .h the same license reference that the rest of
the project uses, and explicitly initialize the properties.
Abstract the comms port to add a TCP method

Abstracted the communications port interface to make RS232 just one
concrete implementation of it; added experimental TCP implementation
(not tested, focused on the framework).