[BISERVER-10702] Flush session entries from cache when the session is lo...

...gged out.

- Added call to logout a PentahoSession when the underlying HttpSession has expired.
- Flushing caches when Pentaho System is going down.