Dev mode create document support. Fixes #19.
Refactor faux and real agent code. Tidy up.
Fix backup on build.
Fix bug with edit page introduced in rev 530643da6a.