Add executable and document to allowed file types

From #3161.

Requires field reverts on the following features:
* os_biocv
* os_blog
* os_booklets
* os_classes
* os_events
* os_faq
* os_links
* os_news
* os_pages
* os_profiles
* os_publications
* os_software