Merge pull request #59 from asergeyev/pathchecks

* verification of script pathinfo before protocol upgrade happens (404 otherwise)
* minor changes (README keyword boost, logging devconsole requests)
Implementing origin checks feature (and required refactoring)...

* Adding origin checking command line flags and help
* Adding functionality of checking in handshake stage
* Moving some code around, creating "remote host information" abstraction
* Now there are tests for origin checking function
Added tests for origin checking functionality

(also fixed bug thanks to testing)
This aggressive refactoring tries to split server and handler funcs...

* Separated high-level server and "handler" elements
* Changed websocket server and handler functions to ones that return closures
* Renamed test since GetURLInfo is now part of handler.go
* Refactored endpoints pipe to be more abstract, make test for it....
* Moved some functionality to start/terminate endpoint into pipe function (this should help with implementation of multiplexing)
* Removed console template and license from showing in godoc.