Geo: Add rake task to check DB replication

Add a rake task which exits 0 if Geo DB replication is working, and exits 1 if not.

This task can then be used programmatically to determine whether to run replicate-geo-database on a secondary.

See gitlab-orchestrator#200 (closed)