Gradle: Added output folders to ModuleExtendedModel.

Change-Id: I60bedaaa53c03f6613a9883d54f150ad1ba9ea09
(cherry picked from commit 1551266)