Adding the defcommand macro

This macro allows me to easily define new commands that will be
interpreted coming from the websocket. The macro just uses a
special hash-table and the message-receiver just dispatches.