Allow for read-only replica DB connection
Adds support for read-replication. Assumes master and replica DB are on separate servers, but if connection to replica isn't passed, the models behave just like before (#141).
Will use master DB for write operations and for transactions and replica DB should be only used for read-only operations.