Bring OGR store back into the build

Description

Based on the work in GEOT-6166, with a few additions of yours truly, it should be possible to bring the module back in the build. I've also fixed all curren QA tool failurers (PMD, ErrorProne, Spotbugs, did not run Checkstyle yet since it's not in the build, but will do as soon as it lands).

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure