Check bash version instead of OS for bash completion

The bash completion script requires bash 4.0

Change-Id: Id81a42585b1d2cb568cb1b8f602f2bb447bef214
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1