add REST documentation for mediacore module

In that case, I think it would logically make more sense to move these to just above the REST API declarations, so we have the RESTModels defined before using them