Added support for iRODS repositories. Also cleaned up the way repos are being registered. This most likely broke some of the demo code, but it's too late to fix that.