added simple program to interface with a client by a socket
working websockets interface!
working on the js code more, also remove unused api functions
better error handling on APIclient
updated error handling and tcp socket work
improve error handling for API cli
further prettification of the UI
further error checking and prettification
Merge branch 'master' of github.com:whyrusleeping/GoCmdChat into HtmlUIDev

Conflicts:
	makefile
fix merge after source tree refactor