Change *http.ResponseWriter to http.ResponseWriter.

We don't need pointer notation for interfaces.
Add test case for template.go
Add NewDataChan function.

Kinda refactoring.
Initialise stop channels when creating the object.

To prevent deadlock occuring when send a message to a channel before
it's initialised.
Add test case for md_chan.go
Add test case for http_server.go
Add test case for websocket.go