Improved header auto-complete, reusing RTags functions