master/slave database mode for CodeIgniter

Hey guys,
This is a functionality that I have developed for CI2 branch and decided to make it available for CI3.
Basically it is a native implementation for CI to work with master/slave database setups. Writes on the master, reads on the slave. Hope you will like it ;).