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