Install bash completion for argcomplete

Update version to 0.4.0

refs: #4629, #4631

Change-Id: I2319a37fc1ba6587528c4ed2eadf727c3c0f6526
diff --git a/bin/minindn b/bin/minindn
index bd7c9fd..78af1ff 100755
--- a/bin/minindn
+++ b/bin/minindn
@@ -94,7 +94,7 @@
 except ImportError:
     pass
 
-VERSION_NUMBER = "0.3.0"
+VERSION_NUMBER = "0.4.0"
 INSTALL_DIR='/usr/local/etc/mini-ndn/'
 
 class PrintExperimentNames(argparse.Action):
@@ -511,4 +511,4 @@
         print("Error: {}".format(e))
         call(["nfd-stop"])
         call(["sudo", "mn", "--clean"])
-        sys.exit(1)
\ No newline at end of file
+        sys.exit(1)
diff --git a/install.sh b/install.sh
index a22e22d..d75a796 100755
--- a/install.sh
+++ b/install.sh
@@ -305,12 +305,14 @@
 
 function argcomplete {
     if [[ $SHELL == "/bin/bash" ]]; then
+        $install bash-completion
         $install python-argcomplete
         if ! grep -q 'eval "$(register-python-argcomplete minindn)"' ~/.bashrc; then
             echo 'eval "$(register-python-argcomplete minindn)"' >> ~/.bashrc
         fi
         source ~/.bashrc
     elif [[ $SHELL == "/bin/zsh" ]] || [[ $SHELL == "/usr/bin/zsh" ]]; then
+        $install bash-completion
         $install python-argcomplete
         if ! grep -z -q 'autoload bashcompinit\sbashcompinit\seval "$(register-python-argcomplete minindn)"' ~/.zshrc; then
             echo -e 'autoload bashcompinit\nbashcompinit\neval "$(register-python-argcomplete minindn)"' >> ~/.zshrc
@@ -373,4 +375,4 @@
         esac
     done
     shift $(($OPTIND - 1))
-fi
\ No newline at end of file
+fi
diff --git a/setup.py b/setup.py
index 06a12cb..bac5451 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
 
 setup(
     name = "Mini-NDN",
-    version = '0.3.0',
+    version = '0.4.0',
     packages = find_packages(),
     scripts = ['bin/minindn', 'bin/minindnedit'],
 )