OGM-326

* Making `@SkipByGridDialect` usabel in tests inherited from `JpaTestCase`
* Closing stale sessions after execution test methods