empty object default if metadata undefined in getValue
togglePublishing updates model metadata, closes #533
show raw metadata editor for new markdown files
add default metadata to drafts
Merge branch 'master' into gh-pages
rebuild