rest service, disconnection log, enhanced notifications

this implements a new rest service to eventually replace the xmlrpc
service. the xmlrpc service should continue working normally for now.

the rest service uses the new enhanced notifications format and
therefore can offer a disconnection log of recent disconnections and
their reasons

docs and client implementation forthcoming