Added basic server functions

excmd_server_version: Retrieves the version of the excmd server.
excmd_server_isCommandPending: Returns a Boolean. True if a command is
available.
excmd_server_popCommand: Pops a command from the queue. Format:
%units;%teams;%command;%parameters;
excmd_server_getLastError: Retrieves the last error that occurred.