Added documentation

Added documentation to undocumented defines.
Added not implemented response code

This message is sent when the command is defined by the protocol
but the microprocessor can not carry it out due to lack of
implementation.
Added serial documentation
Added status checks to serial functions

If the status is not E_NO_ERROR from the called functions then do
not do anything.
Added Latex documentation