Code-review pull of code to build deb and rpm packages.

Also few improvements in general build Makefile.
I think I forgot to remove this ... will do. Install will not start websocket.