Add code completion using bash compgen command.
Use length of token not len of code for start_pos
Allow completions to work for files, directories, and aliases.
Fix possible IndexError and add whitespace
Merge pull request #3 from blink1073/do_complete

Add Bash Completion