Don't show the upload option if max_attachment_size_kb is 0.
Don't show the upload avatar modal is allow_uploaded_avatars is false.
Merge branch 'disable-uploads' into hummingbird-enable-names