cubicweb #2186103 [hooks/events] server-startup and server-shutdown should be complemented [open]

& also better defined

we probably want before/after each of them

also here 'server' is the repo but there is another ticket to handle that(actual bug: in startup, it is possible to use an internal session, in shutdown it is not)

done in<not specified>
closed by<not specified>