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