WIP datasources: Add support for specifying multiple datasources

WIP

If multiple sources are specified, the first available source is used.
Name clashes with `getDatasources`. Something like `selectDatasource` or what not would be better.