Refactored publish functions with relations.
Bugfix.
Removed unused publish endpoint.
Refactored access control to annotations.
Changed annotations access control to new code.
Renamed readUsers to readPersons.
Abstracting out common access logic.
Extracted set access type code.
Set default access settings when setting to private.
Filter search results based on permissions.
Store cached files under a randomized name.

For some reason initializing database with sample data fails now when
using meteor-fs package. After creation of the file the file is not
always created. So asserts added fail. Using blocking original fs
operations works.
Bugfix.
Do not send information about publication cache for closed access publications.