envsetup: Use wait-for-online so these cmds work in recovery

Change-Id: I7a85e7068f373b1d726aa6b27a51862fa9b7c6fd
build: fix bash completion sourcing

Sourcing functions in files from a function within a file being
sourced was giving bash a hard time. This fixes 'repo' command tab
completions.

Change-Id: Iac1b3078e20749fb474ed1270e0886cf435e24d9

Conflicts:
	envsetup.sh
Fix SDK build

Adjust PRODUCT_PACKAGES and PRODUCT_COPY_FILES to fix the following SDK
build.

$ . build/envsetup.sh
$ lunch sdk-eng
$ make sdk

Change-Id: I299e97b7935f9eb01820497342675cfd7ef794e9
Merge branch 'jb3' of https://github.com/CarbonDev/android_build into CB