Bug 1016845 - B2G emulator builds

The relevant mozharness patches have landed, so I think this works. I'm not sure I totally understand the separation yet between what should go in the setup script vs. in the build script, but hopefully this is a good starting point.