Added publish middleware package.
Migrated publish functions to publish endpoints.
Used only for debugging.
We should call publish function directly.

Otherwise there are issues with argument checking and
audit-argument-checks.
Copy over all other fields from publish context.
Provide a way to store state among middlewares.
Tests simplified.
Converted transformations to middlewares.
Show imported filename of publications everywhere.
Upgraded meteor-related to compatible version.
Merge branch 'development' into middleware
Merge pull request #673 from peerlibrary/middleware

Using publish middleware