Cleanup for pre-9.0 checks and branches

Starting 2.3 we only support 9.0 and above, removed
checks and conditions for older versions
(mainly in the tests)
Added [MinPgVersion] attribute to unit tests

Checks the version and ignores the test if the backend
is too old. Replaced manual checks.