The bash completion stuff is crapping out on darwin. Disabling.
Let me know if I am doing something wrong.

Change-Id: I6f61f869140b26db0a119617b353e0952eeaebeb
Check bash version instead of OS for bash completion

The bash completion script requires bash 4.0

Change-Id: Id81a42585b1d2cb568cb1b8f602f2bb447bef214
Consolidate bash version checks

There were two checks for bash version, the 2nd was superfluous; this
patch removes the duplicate checks, and shifts the bash version check to
being back after the "are we in bash" check.

Change-Id: I57ff8c1fedce80f739c06643d2976d2c1465db1b
envsetup: Make installboot work in recovery mode too

 * Needs a change to adb to allow waiting for recovery

Change-Id: Ia90645513f46bcb5f20b7c74c55ef15842710d3d
Merge remote-tracking branch 'CyanogenMod/cm-10.1' into cm-10.1