Bug 1011813 - make test addon for native options unload
Introduce cfx.js and use it to build the xpi before launching firefox/adb.

taken from a1f0782b96ed6ebdbc9e3923305db85512280c6f
removing console.logs
Bug 1011813 - making sdk/zip/utils return promises
Revert changes to sdk/tab/utils and sdk/addon/installer

This reverts commit 5724de6d65fbf6b7352ccae9aea902a5f3067450.

Conflicts:
	lib/sdk/preferences/utils.js
	test/test-simple-prefs.js
Bug 1011813 fixing test after sdk/addon/installer revert
Bug 1011813 addressing review comments
Merge branch 'master' of git://github.com/mozilla/addon-sdk into 1011813

Conflicts:
	lib/sdk/addon/runner.js
Merge pull request #1504 from erikvold/1011813

Bug 1011813 - make test add-on for native options unload r=@jsantell