Added class MessageDispatcher to perform task of acting like server side code.

The debug related activity DispatchGCMMessage can be used to send and test debug
messages.