ORM Datasource Setting

I have a case where I'd like to add a different datasource for a plugin's ORM transactions. I'd tried to set it up in the plugin but this is the only way I could get it to work. Would love to see this in the main codeline.
Merge pull request #1704 from cameroncf/patch-7

ORM Datasource Setting