Merge branch 'master' into wheezy-security

Conflicts:
	debian/patches/debian-hacks/Do-build-time-detection-of-2-bytes-wchar_t-and-char1.patch
	debian/patches/debian-hacks/Fix-build-failure-for-header.py-and-typelib.py.patch
	debian/patches/fixes/Make-system-cairo-work-again.patch
	debian/patches/porting-kfreebsd-hurd/Allow-ipc-code-to-build-on-GNU-hurd.patch
	debian/patches/porting-kfreebsd-hurd/Another-fix-to-build-ipc-code-on-GNU-hurd-and-kfreeb.patch
	debian/thunderbird-dev.install.in
	debian/thunderbird-dev.links.in
	debian/thunderbird.install.in
	mozilla/addon-sdk/source/test/addons/content-permissions/main.js
	mozilla/content/canvas/test/webgl/skipped_tests_linux.txt
	mozilla/content/canvas/test/webgl/skipped_tests_linux_mesa.txt
	mozilla/dom/workers/TextDecoder.h
	mozilla/js/src/config/milestone.txt
	mozilla/js/src/jstypedarray.cpp
	mozilla/js/src/jstypedarray.h
	mozilla/js/src/jstypedarrayinlines.h
debian/mozconfig.default: changing internal build config

Some build depencies can are not be solved on a Wheezy system. These
packages can happily build from the upstream source.
debian/control: removing build depencies due internal build

The previous commit switches on some internal build of dependencies, so
remove this not needed system packages from the b-d. Decrease the
version for libsqlite3-dev.
rebuild patch queue from patch-queue branch

added patches:
wheezy-security/sqlite-dev-revert-version-to-3.7.13.patch