Added support for legacy CKAN API and added options to CKANDataSource.

Change-Id: Ic18cfd8c9c730ab44651da88a75fe18725173ae3