Merging with muxdemux branch initiated refactoring...

No changes in functionality at this point, contains
squashed commit of the following:

commit aaa9c3c
Author: Alex Sergeyev <asergeyev@dyn.com>
Date:   Fri Apr 25 23:29:22 2014 -0400

    Hiding console template and license from godoc.

commit d602910
Author: Alex Sergeyev <asergeyev@dyn.com>
Date:   Fri Apr 25 23:18:40 2014 -0400

    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.

commit 0a2c5af
Author: Alex Sergeyev <asergeyev@dyn.com>
Date:   Fri Apr 25 21:45:16 2014 -0400

    Renaming test since GetURLInfo is now part of handler.go

commit 714145c
Author: Alex Sergeyev <asergeyev@dyn.com>
Date:   Fri Apr 25 21:36:18 2014 -0400

    Changed websocket server and handler functions to ones that return closures

commit 24cccfb
Author: Alex Sergeyev <asergeyev@dyn.com>
Date:   Thu Apr 24 22:44:25 2014 -0400

    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.