generic-model: implement the mex_model_add function
generic-model: implement the mex_model_add function

The mex_model_add function allows multiple items to be added in a single
function call.

media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer