move sessionEpireListener to own class.

move sessionEpireListener to own class. refs #1698
also comment out unused parameters in `core.xml`

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| Refs tickets  | #1698
| License       | MIT
| Doc PR        | -