Added Create Message util function

Created a standard util function for the creation of messages to be passed back and forth between server and clients.
This method takes in the message type, interview id, client id, and any addition params to be added to the data field of the message as input.
It also serializes the data so it is the only function necessary to call when using write_message, for example.