Merge pull request #571 from Gozala/bug/promised-790973

Bug 790973 - promised flattens array arguments r=@ochameau
Merge pull request #562 from erikvold/789854

Fix bug 789854 PrefTarget() now works r=@ochameau
Handled review's comments for docs
Merge pull request #572 from wbamberg/791075

Bug 791075: Add `module.metadata` with `stability` flags to addon-kit modules r=@gozala
creating a getSelectedTab helper
note that tabs depends on windows
using relative require form
style changes to tabs/worker
using relative require form
updated tabsUnloader so that the evt argument can be false
style changes
using relative path
evt -> event
using a default blank image for the getThumbnail method on the Tab class for Fennec
adding get/setTabURL helper function
created a setTabTitle helper
Merge branch 'master' of git://github.com/mozilla/addon-sdk into 772663

Conflicts:
	packages/addon-kit/lib/tabs.js
	packages/addon-kit/lib/windows.js
	packages/addon-kit/tests/test-tabs.js
	packages/api-utils/lib/tab-browser.js
	packages/api-utils/lib/tabs/tab.js
	packages/api-utils/lib/tabs/utils.js
	packages/api-utils/lib/utils/thumbnail.js
	packages/api-utils/lib/window-utils.js
	packages/api-utils/lib/windows/dom.js
moving module.metadata to top
test cleanups
Merge pull request #531 from erikvold/783453

Fix bug 783453 testing that special characters work as preference names r=@ochameau