Bug 1085620 part1: Install virtualenv in the base image.

virtualenv is a dependency for mozharness.
Bug 1085620 part2: Support for emulator builds in the builder image.

The setup of builder image moved to system-setup.sh script because
needs to do more complex work, like downloading repo and installing
mozilla buildtools package.

The build-emulator.sh script is reponsible for building emulators.
Besides the REPOSITORY and REVISION environment variables, it requires
TARGET and B2G_CONFIG too.
Bug 1085620 part3: Add emulator build task.

The "mach ci-build" has a new optional argument called b2g-config. This
allows the user to pass the b2g config directory for the target. This
argument is necessary for emulator and phone builds.
Bug 1085620 part4: Support debug builds.

Phone and emualtor builds depends on the environment variable B2G_DEBUG
for debug builds.

mach ci-build now has the --debug option to enable debug builds.
Bug 1085620 part5: Support emulator builds in trygraph.

Emulator tasks have some additional parameters not found in other
tasks. Therefore, builds can have an 'additional-parameters' field in
which specific task template replacements can be passed to trygraph.
This field is optional.

Moreover, the syntax for job_flags.yml builds was changed a bit.
Now, instead of:

builds:
  <platform>:
    types:
      opt: <task>
      debug: <task>

The syntax is:

builds:
  <platform>:
    types:
      opt:
        task: <task>
        additional-parameters:
          <parameter 1>: <value>
          <parameter 2>: <value>
          ...
      debug:
        task: <task>
        additional-parameters:
          <parameter 1>: <value>
          <parameter 2>: <value>
          ...
Merge pull request #17 from walac/bugz/1085620

Bug 1085620: Add support for emulator-kk opt build.
Bug 1085621: Add support for emulator-kk debug build.
Merge pull request #18 from walac/bugz/1085621

Bug 1085621: Add support for emulator-kk debug build.
Bug 1098035 - test task file per build type r=lightsofapollo
Merge pull request #19 from gregarndt/bug_1098035

Bug 1098035 - test task file per build type r=lightsofapollo
Bug 1085617: Add support for emulator-jb opt build.
Bug 1098336: Use mozharness debug flag for emulator debug builds.
Merge pull request #21 from walac/bugz/1085617

Bug 1085617: Add support for emulator-jb opt build.
Bug 1085619: Add support for emulator-jb debug build.
Merge pull request #23 from walac/bugz/1085619

Bug 1085619: Add support for emulator-jb debug build.
Bug 1085614: Add support for emulator-ics opt build.
Merge pull request #24 from walac/bugz/1085614

Bug 1085614: Add support for emulator-ics opt build.
Merge pull request #22 from walac/bugz/1098336

Bug 1098336: Use mozharness debug flag for emulator debug builds. r=garndt
Add dependencies for mochitests and dbus
bump versions for testing