MDL-47084 Web Services: Return attachments and rewritten pluginfiles in get_posts function