Add editor support for allOf and extends. Fixes #49
Fix bug with refs not being expanded properly.