Merge pull request #811 from ochameau/overload-mobile

Bug 844409: Implement proper support of --overload-modules for mobile. r=@gozala(cherry picked from commit e91251e4348b3f6baf6303b0653eda64661d66be)