This aggressive refactoring tries to split server and handler funcs...

For the libwebsocketd. Those need to live separately where server is high-level operating element and handler is created specifically for piping between command and websocket.

Changed websocket server and handler functions to ones that return closures

Renaming test since GetURLInfo is now part of handler.go

Refactoring endpoints pipe to be more abstract, make test for it....

also moved some functionality to start/terminate endpoint into pipe function,
this should help with implementation of multiplexing.

Hiding console template and license from godoc.