Backward compatibility for getAllowedUploadExtensions()

Ensure getAllowedUploadExtensions() returns a list of acceptable extensions by default when accept_file_types is not present in config.yml...  and caught some whitespace.

This came up in #1097.