Add Blob#file_type convenience method
Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11777
Edited by Douwe Maan
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Extracted from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11777