Allow MIME type checks in AgaviBaseFileValidator, closes #1245