First implementation of shutdown command
When invoked, the daemon checks whether active tasks remain to be processed and, if so, returns NORNS_ETASKSPENDING. If there are no active tasks, but there are tracked namespaces that are not empty, the daemon return NORNS_ENAMESPACENOTEMPTY. Otherwise, the daemon returns NORNS_SUCCESS and shuts itself down.