Adding events to Collection (completes #14)
Fixes doctype in preview and source (missed updating .doctype to .get('doctype') after model API change)
Adding a (temporary?) fix for #15