Fix the API docs generator.
Fix the API docs generator.

The webapi docs build process was still using the deprecated
allowed_item_mimetypes and allowed_list_mimetypes fields. Update it to use the
consolidated allowed_mimetypes field.

Testing done: Built the API docs.
Reviewed at https://reviews.reviewboard.org/r/4832/

1tush/reviewboard,davidt/reviewboard,bkochendorfer/reviewboard,reviewboard/reviewboard,brennie/reviewboard,sgallagher/reviewboard,beol/reviewboard,bkochendorfer/reviewboard,1tush/reviewboard,custode/reviewboard,davidt/reviewboard,1tush/reviewboard,davidt/reviewboard,1tush/reviewboard,sgallagher/reviewboard,bkochendorfer/reviewboard,chipx86/reviewboard,beol/reviewboard,KnowNo/reviewboard,sgallagher/reviewboard,1tush/reviewboard,reviewboard/reviewboard,1tush/reviewboard,chipx86/reviewboard,KnowNo/reviewboard,KnowNo/reviewboard,custode/reviewboard,beol/reviewboard,KnowNo/reviewboard,brennie/reviewboard,beol/reviewboard,1tush/reviewboard,bkochendorfer/reviewboard,chipx86/reviewboard,1tush/reviewboard,reviewboard/reviewboard,brennie/reviewboard,reviewboard/reviewboard,1tush/reviewboard,sgallagher/reviewboard,custode/reviewboard,brennie/reviewboard,chipx86/reviewboard,custode/reviewboard,davidt/reviewboard