Bug 909839 - Merge JavaScript 'atoms' used by gaia and gaiatest

Note that after this is merged you will need to run `python setup.py develop` in order for any changes to the atoms to be picked up by gaiatest. This is similar to how it worked before the gaia-ui-tests were merged into the gaia repository.