Correct v4 checking to include future versions of the API

The v4? check was only pinning on :v4 versions of the API. This patch now
allows for future versions to match also, and so I've renamed it to v4-and-newer?

Also, remove-status was pinned to :v4, and is now future compatible.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-707) Fix bonecp 57P01 handling

This patch adds retry handling for 57P01 failures, which result in an
PSQLException with a status code of 08003. The patch has been made
forward compatible by catching all SQLExceptions with this status code.

Version 0.8.0-RELEASE of Bonecp does not throw the correct sql state code
today, however a patch has been raised to make this happen so we can
upgrade to this version in the future.

Signed-off-by: Ken Barber <ken@bob.sh>
Add thread names to logging

This patch adds thread names to the various logback.xml configuration files
in this project. This provides us with better traceability when attempting
to understand where a log message came from.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1074 from kbarber/maint/master/add-thread-names-to-logging

Add thread names to logging
Merge pull request #1071 from kbarber/maint/master/make-status-version-logic-forward-compatible

Correct v4 checking to include future versions of the API
Merge pull request #1073 from kbarber/ticket/stable/pdb-707-bonecp-last-conn-after-pg-restart

(PDB-707) Fix bonecp 57P01 handling
(PDB-707) Fix bonecp 57P01 handling

This patch adds retry handling for 57P01 failures, which result in an
PSQLException with a status code of 08003. The patch has been made
forward compatible by catching all SQLExceptions with this status code.

Version 0.8.0-RELEASE of Bonecp does not throw the correct sql state code
today, however a patch has been raised to make this happen so we can
upgrade to this version in the future.

Signed-off-by: Ken Barber <ken@bob.sh>
(cherry picked from commit 6d58dbfc8873166704ff60411bfa77f4dedf9f55)
Merge branch 'stable'

* stable:
  (PDB-707) Fix bonecp 57P01 handling