more robust checking for bash completion

 - test for existence of Berksfile and cookbooks/ dir
 - tighter, more flexible parsing of Berksfile
   (ignore commented lines, don't assume single quotes, etc)