ws: Make the core cockpitwebsocket code a real object

This will allow us to do things like have it be reference counted
and so on.

Call it CockpitWebService since it's really the core of the
web service.

Closes #542
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>