test for overly greedy completion swallowing
fix for underscore completion
update regex
refer to rlcompleter orginins

@minrk said it would be the prudent thing to do
Merge pull request #6379 from ivanov/under-completion

better underscore completion