MDL-37247 mod_forum: adding webservice function to allow for the retrieval of forum instances