Add PostgreSQL replication lag to collectd

Create a stored procedure to calculate the number of bytes secondaries
are lagging from the primary. This is only tracked on the primary so it
is only added to the collectd query list there.

## PLEASE DO NOT MERGE YET
This is not easy to test locally so I would like to test it on preview first. This pull request is for review only.