app: fix exception handling when session is not usable
Service: added ServiceNotRegistered exception, if_running decorator
fix respository tests trying to call an already instanciated session
session_repository: run event handlers only if service is registered and running
blob: now session_repository requires a session or model instance