add outermost wsi lifetime callbacks

Signed-off-by: Andy Green <andy.green@linaro.org>