Support for Doxygen

Commented all headers to support generated documentation via Doxygen
Added Doxygen configuration file
Cleanup of unused member functions
Moved cursor state into state_message class
Fixed bug with inherited label properties