Replace recursive defaultdict with something more sensible.
Got rid of Resource.raw_data and added scope for post-inference normalisations.
Started wrapping changes up in changesets
Use changesets for source views.