introducing 'publish' user preference to set the default for publishing new records
implement frontend caching of preferences
apply the publish preference when importing
added a test for the batch importer to make sure it picks up the publish preference
fixing up some tests broken by the changed behaviour for publish
don't bomb out if there is no current user when asked for defaults
added a publishable mixin to set publish from prefs on create if it's missing
don't cry if something you declared as publishable doesn't have a publish method
explicitly set publish to true on notes in export tests now that it defaults to false via a user preference
now that there is a publish preference extend the privilege of seeing the user prefs menu item to users who can edit archival records
fixing up more broken tests