Added new "public" field to document form/model
Allow download only for public non-exam documents (fixes #113)