Set a limit for session time

Despite the value of session timeout, if code under `applicationWillResignActive:` doesn't run for some reason, sessions would never be closed. So, we define a limit for session timeout, that can be overrided by the developer.

Signed-off-by: Miguel M. Almeida <miguelcma@CMA-Retina.local>