Revert all bash completion stuff

Revert "Consolidate bash version checks"

This reverts commit 4e0a47cbd3198ee4ba38839654c79e7c8726cf90.

Revert "Check bash version instead of OS for bash completion"

This reverts commit 2812e6e6e93f6d71221f6da676b84960ed68e7ea.

Revert "The bash completion stuff is crapping out on darwin. Disabling."

This reverts commit bc6d7c36be0883af10784c854eb808a0d313c39c.

Revert "envsetup: include bash completion script from vendor/cm"

This reverts commit 734c45b20444146dc06fff66145d6ade301bbf20.
Extract addon.d before we run backuptool

Needed for LCD backup

Change-Id: I90f2b4ca1e534e0bb2370c7157a10e0e6282c84b
Fix /system/app/$app.odex not updated issue

$(built_odex) depends on $(LOCAL_BUILT_MODULE) but doesn't have any build
recipe. It is built by the rules of $(LOCAL_BUILT_MODULE) that results in
a subtle bug: $(built_odex) is always newer than $(LOCAL_BUILT_MODULE)
if $(LOCAL_BUILT_MODULE) rebuilt. Therefore 'make' thinks the targets
(/system/app/$app.odex) depending on $(built_odex) don't need to be updated.
It seems an allegedly optimization bug of 'make'.

The simple fix is to explicitly add $(LOCAL_BUILT_MODULE) as a dependency
of $(installed_odex).

Conflicts:
	core/base_rules.mk

Change-Id: Ia62695eeb9a9709f7115301cbf27eb1fd77a1573
envsetup.sh: add missing dquotes

Change-Id: Ic86a5dd36b0f32cd7dc4d2f9c187566398796ed6
repopick: gracefully handle empty/non-JSON server responses

Change-Id: Idbabdbfb4a910de0ad405f02b2a84cf2bc9ef3dc
repopick: remove the superfluous information from date

  * '2011-11-17 06:54:52.000000000' -> '2011-11-17 06:54:52'

Change-Id: I73d37c9aba13d4be6b4d2d2fc0f2f83971a3e77b
repopick: let's be nice to our servers :)

* Prefer fetching changes from GitHub, and if that fails,
  silently fall-back to Gerrit.

Change-Id: Ibf68d4b69a7e8dbee2adb8f7f4250340b8be629c
Merge remote-tracking branch 'upstream/jb2' into jb2