[#1200] add loaded plugin logic
Merge branch '1200-datastore-read-only' of github.com:okfn/ckan into 1200-datastore-read-only